ubloxmodem: fix memory leak in gprs_context_remove

This commit is contained in:
Dragos Tatulea 2016-11-14 16:24:34 +01:00 committed by Denis Kenzior
parent cd0b9b9ef7
commit c43e44b154
1 changed files with 1 additions and 0 deletions

View File

@ -442,6 +442,7 @@ static void ublox_gprs_context_remove(struct ofono_gprs_context *gc)
g_at_chat_unref(gcd->chat);
memset(gcd, 0, sizeof(*gcd));
g_free(gcd);
}
static struct ofono_gprs_context_driver driver = {