diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-07 18:26:10 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-09 09:57:41 +0200 |
commit | f0d5647249279883e0babcf24955f466059cc82e (patch) | |
tree | 4b424ae31b7f1732c049debab1b69f00a4d9198b | |
parent | 8550eacaf6ab788c0899d7b13a6581187b23a998 (diff) |
qmicli,loc: cleanup signal handler for the delete assistance data action
(cherry picked from commit 597a0a011a49de21a6b1cb85ecc0d65ee401851d)
-rw-r--r-- | src/qmicli/qmicli-loc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qmicli/qmicli-loc.c b/src/qmicli/qmicli-loc.c index 6156a47..f429d87 100644 --- a/src/qmicli/qmicli-loc.c +++ b/src/qmicli/qmicli-loc.c @@ -216,6 +216,9 @@ context_free (Context *context) if (context->nmea_indication_id) g_signal_handler_disconnect (context->client, context->nmea_indication_id); + if (context->delete_assistance_data_indication_id) + g_signal_handler_disconnect (context->client, context->delete_assistance_data_indication_id); + g_clear_object (&context->cancellable); g_clear_object (&context->client); g_clear_object (&context->device); |