aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-04-05 09:47:31 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-04-05 10:27:43 +0200
commita2d2f839100e84b721dc335b083f444cebcbb8a1 (patch)
tree1e125e231a9a4ea2642061cd11996fd35e406c9e
parent30e2a0f4d0eaf632b357c1b1fd17730c932c6e63 (diff)
mbm: plug memleaks
-rw-r--r--plugins/mbm/mm-broadband-bearer-mbm.c2
1 files changed, 2 insertions, 0 deletions
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,