diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-31 00:05:21 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-31 00:05:21 +0200 |
commit | 6c94741e04ecb786579855a562a5ee5039901068 (patch) | |
tree | c1652d8b470d807447bb6b20f3ce76ecc85f604e | |
parent | 6c1e005b54692ffd3dbb3f3c185b5d0eb951196b (diff) |
sierra: fix dialling context deallocation
We were using the slice allocator, not plain g_malloc().
-rw-r--r-- | plugins/sierra/mm-broadband-bearer-sierra.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |