summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-04-18 15:29:12 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-04-18 15:30:40 +0200
commit5f32645debf80e2606bee8eea629ca8e5e9f9b55 (patch)
treeec9e02d617619bc75c44335df37f8567f8bccdf2
parent6ee639da94faa551f9833f40fe3ee1cecc627a75 (diff)
libqmi-glib,device: fix memleak in set_instance_id() logic
(cherry picked from commit fed84d99cd5e155be41dc55e599a3f5f5881cc7a)
-rw-r--r--src/libqmi-glib/qmi-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libqmi-glib/qmi-device.c b/src/libqmi-glib/qmi-device.c
index bcd2799..ac81745 100644
--- a/src/libqmi-glib/qmi-device.c
+++ b/src/libqmi-glib/qmi-device.c
@@ -1470,6 +1470,7 @@ set_instance_id_ready (QmiClientCtl *client_ctl,
}
g_simple_async_result_complete (simple);
+ g_object_unref (simple);
}
/**