From a2d2f839100e84b721dc335b083f444cebcbb8a1 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 5 Apr 2013 09:47:31 +0200 Subject: [PATCH] mbm: plug memleaks --- plugins/mbm/mm-broadband-bearer-mbm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/mbm/mm-broadband-bearer-mbm.c b/plugins/mbm/mm-broadband-bearer-mbm.c index f7374757..e4f9983c 100644 --- a/plugins/mbm/mm-broadband-bearer-mbm.c +++ b/plugins/mbm/mm-broadband-bearer-mbm.c @@ -396,6 +396,8 @@ authenticate (Dial3gppContext *ctx) ctx->cid, encoded_user ? encoded_user : "", encoded_password ? encoded_password : ""); + g_free (encoded_user); + g_free (encoded_password); mm_base_modem_at_command_full (ctx->modem, ctx->primary,