cli: don't unref cancellable if already done

This commit is contained in:
Aleksander Morgado
2011-12-19 12:29:12 +01:00
parent 55654d5b46
commit 0dec4b447e

View File

@@ -243,6 +243,7 @@ main (gint argc, gchar **argv)
mmcli_modem_shutdown ();
}
if (cancellable)
g_object_unref (cancellable);
g_main_loop_unref (loop);
g_object_unref (connection);