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:
d998989
)
zte: Fix stale control channel after hot-unplug
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 29 Jul 2011 13:16:00 +0000
(15:16 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 29 Jul 2011 13:21:11 +0000
(15:21 +0200)
plugins/zte.c
patch
|
blob
|
history
diff --git
a/plugins/zte.c
b/plugins/zte.c
index
ef1a33a
..
92642ea
100644
(file)
--- a/
plugins/zte.c
+++ b/
plugins/zte.c
@@
-79,6
+79,9
@@
static void zte_remove(struct ofono_modem *modem)
ofono_modem_set_data(modem, NULL);
+ /* Cleanup after hot-unplug */
+ g_at_chat_unref(data->aux);
+
g_free(data);
}