diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-04 17:19:21 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-04 17:59:59 +0200 |
commit | f6ae514405218e213413f06cb9411bbee9e72633 (patch) | |
tree | 1e86fb05005695e063c989991ded1196c8ff8c82 | |
parent | be079381c06427f4748be245dc7c89fefed35293 (diff) |
telit: plug memleak when SIM object cannot be acquired
The GTask wasn't being disposed.
-rw-r--r-- | plugins/telit/mm-broadband-modem-telit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |