aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-01-09 14:06:14 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-09 14:06:14 +0100
commite3e837a8a777a3c4404f8d598eb68c7467f53b19 (patch)
tree0e0e3782c0d51ec51912c77728a2359fda19aa94
parentfbc1e3f89e89ba980417a77df8987425a654ec55 (diff)
broadband-modem-qmi: plug memleak when checking unlock status with DMS UIM
==990910== 28 bytes in 1 blocks are definitely lost in loss record 1,943 of 5,051 ==990910== at 0x483877F: malloc (vg_replace_malloc.c:309) ==990910== by 0x50D53DA: g_malloc (gmem.c:99) ==990910== by 0x50F19ED: g_slice_alloc (gslice.c:1024) ==990910== by 0x50F1A2D: g_slice_alloc0 (gslice.c:1050) ==990910== by 0x4A3FD4A: __qmi_message_dms_uim_get_pin_status_response_parse (qmi-dms.c:8212) ==990910== by 0x4A6AFEA: uim_get_pin_status_ready (qmi-dms.c:31662) ==990910== by 0x4EADC8B: g_simple_async_result_complete (gsimpleasyncresult.c:802) ==990910== by 0x4EADCBF: complete_in_idle_cb.lto_priv.0 (gsimpleasyncresult.c:814) ==990910== by 0x50CF4AE: g_idle_dispatch (gmain.c:5617) ==990910== by 0x50CC6F0: g_main_dispatch (gmain.c:3179) ==990910== by 0x50CD616: g_main_context_dispatch (gmain.c:3844) ==990910== by 0x50CD81B: g_main_context_iterate (gmain.c:3917)
-rw-r--r--src/mm-broadband-modem-qmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c
index 30f3da88..5f89efba 100644
--- a/src/mm-broadband-modem-qmi.c
+++ b/src/mm-broadband-modem-qmi.c
@@ -1033,6 +1033,7 @@ dms_uim_get_pin_status_ready (QmiClientDms *client,
}
/* We're done! */
+ qmi_message_dms_uim_get_pin_status_output_unref (output);
g_task_return_int (task, lock);
g_object_unref (task);
}