From 0d96662a0a4eea120b9130ff680c42e0c9493a18 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 10 Sep 2013 09:42:18 +0200 Subject: [PATCH] sim-huawei: fix refcount g_async_result_get_source_object() returns a full reference, which needs to get unref-ed when no longer used. --- plugins/huawei/mm-sim-huawei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/huawei/mm-sim-huawei.c b/plugins/huawei/mm-sim-huawei.c index d19fd2f7..7963180d 100644 --- a/plugins/huawei/mm-sim-huawei.c +++ b/plugins/huawei/mm-sim-huawei.c @@ -102,6 +102,7 @@ error: MM_SIM_CLASS (mm_sim_huawei_parent_class)->load_sim_identifier (self, (GAsyncReadyCallback) parent_load_sim_identifier_ready, simple); + g_object_unref (self); } static void