diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-07-29 15:17:06 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-07-29 15:21:25 +0200 |
commit | 3e73ffebff85b187aa88e28e6759fa7527002c8d (patch) | |
tree | 3cb1ab0043b1a0a750ef40e0a99eb4b68f9f1bc6 | |
parent | e604e5065c4441fe3ad807e747d48a9dff840d4f (diff) | |
download | ofono-3e73ffebff85b187aa88e28e6759fa7527002c8d.tar.bz2 |
speedup: Fix stale control channel after hot-unplug
-rw-r--r-- | plugins/speedup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/speedup.c b/plugins/speedup.c index 16ae4fa2..b617699d 100644 --- a/plugins/speedup.c +++ b/plugins/speedup.c @@ -77,6 +77,9 @@ static void speedup_remove(struct ofono_modem *modem) ofono_modem_set_data(modem, NULL); + /* Cleanup after hot-unplug */ + g_at_chat_unref(data->aux); + g_free(data); } |