From afce58224616c57f8878680e8c9114226b93bdc8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 25 May 2011 05:30:17 -0500 Subject: [PATCH] gathdlc: Fix memory leak --- gatchat/gathdlc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 272d7b5..1d5f239 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -425,6 +425,8 @@ void g_at_hdlc_unref(GAtHDLC *hdlc) g_free(hdlc->decode_buffer); + g_timer_destroy(hdlc->timer); + if (hdlc->in_read_handler) hdlc->destroyed = TRUE; else -- 2.7.4