diff options
Diffstat (limited to 'plugins/speedupcdma.c')
-rw-r--r-- | plugins/speedupcdma.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/speedupcdma.c b/plugins/speedupcdma.c index 2194a801..3b398aa7 100644 --- a/plugins/speedupcdma.c +++ b/plugins/speedupcdma.c @@ -72,6 +72,9 @@ static void speedupcdma_remove(struct ofono_modem *modem) ofono_modem_set_data(modem, NULL); + /* Cleanup after hot-unplug */ + g_at_chat_unref(data->aux); + g_free(data); } |