summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-06-11 09:15:32 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-06-11 09:20:05 -0500
commita0eafc269e1ae199e6179ffac279f2e179c6ea8e (patch)
tree331f6e0e9a04b7530c580e2d0be5e77d60ed571e /gatchat/gatppp.c
parent75e6a4707b188896d0e687a8dc169764fa8a33fc (diff)
downloadofono-a0eafc269e1ae199e6179ffac279f2e179c6ea8e.tar.bz2
gatppp: Unref HDLC when unrefing PPP
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r--gatchat/gatppp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index 8d62b07a..f1cba647 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -459,6 +459,8 @@ void g_at_ppp_unref(GAtPPP *ppp)
lcp_free(ppp->lcp);
ipcp_free(ppp->ipcp);
+ g_at_hdlc_unref(ppp->hdlc);
+
g_free(ppp);
}