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:
d82c5ce
)
gatppp: Make sure to clean up guard_timeout_source
author
Denis Kenzior
<denkenz@gmail.com>
Sun, 22 May 2011 13:34:21 +0000
(08:34 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 24 May 2011 17:25:07 +0000
(12:25 -0500)
gatchat/gatppp.c
patch
|
blob
|
history
diff --git
a/gatchat/gatppp.c
b/gatchat/gatppp.c
index
7494253
..
200bd5c
100644
(file)
--- a/
gatchat/gatppp.c
+++ b/
gatchat/gatppp.c
@@
-602,6
+602,11
@@
void g_at_ppp_unref(GAtPPP *ppp)
ppp->ppp_dead_source = 0;
}
+ if (ppp->guard_timeout_source) {
+ g_source_remove(ppp->guard_timeout_source);
+ ppp->guard_timeout_source = 0;
+ }
+
g_at_hdlc_unref(ppp->hdlc);
g_free(ppp);