From a0eafc269e1ae199e6179ffac279f2e179c6ea8e Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 11 Jun 2010 09:15:32 -0500 Subject: [PATCH] gatppp: Unref HDLC when unrefing PPP --- gatchat/gatppp.c | 2 ++ 1 file changed, 2 insertions(+) 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); }