projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e604e50
)
speedup: Fix stale control channel after hot-unplug
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 29 Jul 2011 13:17:06 +0000
(15:17 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 29 Jul 2011 13:21:25 +0000
(15:21 +0200)
plugins/speedup.c
patch
|
blob
|
history
diff --git
a/plugins/speedup.c
b/plugins/speedup.c
index
16ae4fa
..
b617699
100644
(file)
--- 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);
}