driver: ublox: fix memory leak in release
PATCH 1/1 driver: ublox: fix memory leak in release
--- drivers/ubloxmodem/gprs-context.c | 1 + 1 file changed, 1 insertion(+)
drivers/ubloxmodem/gprs-context.c +1 -0
@@ -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 = {
Signature · 1 line
2.7.4
Denis Kenzior
AppliedHi Dragos,
Quoted 4 lines · Dragos Tatulea
--- drivers/ubloxmodem/gprs-context.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Regards,
-Denis