From f6ae514405218e213413f06cb9411bbee9e72633 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 4 Sep 2017 17:19:21 +0200 Subject: [PATCH] telit: plug memleak when SIM object cannot be acquired The GTask wasn't being disposed. --- plugins/telit/mm-broadband-modem-telit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/telit/mm-broadband-modem-telit.c b/plugins/telit/mm-broadband-modem-telit.c index d517f549..a3c81353 100644 --- a/plugins/telit/mm-broadband-modem-telit.c +++ b/plugins/telit/mm-broadband-modem-telit.c @@ -1005,6 +1005,7 @@ after_power_up_step (GTask *task) MM_CORE_ERROR, MM_CORE_ERROR_FAILED, "could not acquire sim object"); + g_object_unref (task); return; }