diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-07-29 15:25:24 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-07-29 15:25:24 +0200 |
commit | 98d448e7c4c97fc1b0f770e2467edb6515408b49 (patch) | |
tree | 97608a7ce8a501a78b0589b0ab84db667a093485 /plugins/speedupcdma.c | |
parent | bc329be0e2d9c26e1d5251cea1f5a8226fb97ee6 (diff) | |
download | ofono-98d448e7c4c97fc1b0f770e2467edb6515408b49.tar.bz2 |
speedupcdma: Fix stale control channel after hot-unplug
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); } |