aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-09-10 09:42:18 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-09-10 09:47:50 +0200
commit0d96662a0a4eea120b9130ff680c42e0c9493a18 (patch)
tree8ca6fe183e68a4a68ab5242e37b666d8dd317fe2
parent73978cbe6fbe8549a08c011f9f48d910fc16f8aa (diff)
sim-huawei: fix refcount
g_async_result_get_source_object() returns a full reference, which needs to get unref-ed when no longer used.
-rw-r--r--plugins/huawei/mm-sim-huawei.c1
1 files changed, 1 insertions, 0 deletions
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