From 6c94741e04ecb786579855a562a5ee5039901068 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 31 Aug 2012 00:05:21 +0200 Subject: [PATCH] sierra: fix dialling context deallocation We were using the slice allocator, not plain g_malloc(). --- plugins/sierra/mm-broadband-bearer-sierra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sierra/mm-broadband-bearer-sierra.c b/plugins/sierra/mm-broadband-bearer-sierra.c index 3a66fc8f..c8ce9c1c 100644 --- a/plugins/sierra/mm-broadband-bearer-sierra.c +++ b/plugins/sierra/mm-broadband-bearer-sierra.c @@ -65,7 +65,7 @@ dial_3gpp_context_complete_and_free (Dial3gppContext *ctx) g_object_unref (ctx->primary); g_object_unref (ctx->modem); g_object_unref (ctx->self); - g_free (ctx); + g_slice_free (Dial3gppContext, ctx); } static gboolean