diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-19 10:41:09 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-19 16:22:32 +0200 |
commit | c63f42a20cc26fb89bfbe5d14e9b2b4437f41102 (patch) | |
tree | befe0158209cfdf5add1366e79a1aade3c28244f | |
parent | b43ee56d067fae90809776b388a1fa335f508796 (diff) |
hso: plug memleak when finishing dialling with error
-rw-r--r-- | plugins/option/mm-broadband-bearer-hso.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/option/mm-broadband-bearer-hso.c b/plugins/option/mm-broadband-bearer-hso.c index d2cfd910..491b4659 100644 --- a/plugins/option/mm-broadband-bearer-hso.c +++ b/plugins/option/mm-broadband-bearer-hso.c @@ -464,8 +464,7 @@ activate_ready (MMBaseModem *modem, if (!mm_base_modem_at_command_full_finish (modem, res, &error)) { g_simple_async_result_take_error (ctx->result, error); - g_simple_async_result_complete (ctx->result); - g_object_unref (ctx->result); + dial_3gpp_context_complete_and_free (ctx); return; } |