sierra: 'data' may be NULL if the parent dialling fails

This commit is contained in:
Aleksander Morgado
2013-04-04 17:22:45 +02:00
parent a62624aa22
commit d2b4ab9d9c

View File

@@ -62,6 +62,7 @@ dial_3gpp_context_complete_and_free (Dial3gppContext *ctx)
g_simple_async_result_complete_in_idle (ctx->result);
g_object_unref (ctx->cancellable);
g_object_unref (ctx->result);
if (ctx->data)
g_object_unref (ctx->data);
g_object_unref (ctx->primary);
g_object_unref (ctx->modem);