diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-06-11 09:15:03 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-06-11 09:20:05 -0500 |
commit | 75e6a4707b188896d0e687a8dc169764fa8a33fc (patch) | |
tree | e562131f644b8997d8360618f80b9348595f419e /gatchat/gathdlc.c | |
parent | 45c1bcb1d936600839964a5bfade02ae309dc21f (diff) | |
download | ofono-75e6a4707b188896d0e687a8dc169764fa8a33fc.tar.bz2 |
gathdlc: Free the main HDLC structure on unref
Diffstat (limited to 'gatchat/gathdlc.c')
-rw-r--r-- | gatchat/gathdlc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 6e71eb43..8c85c7bd 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -267,6 +267,7 @@ void g_at_hdlc_unref(GAtHDLC *hdlc) ring_buffer_free(hdlc->write_buffer); g_free(hdlc->decode_buffer); + g_free(hdlc); } void g_at_hdlc_set_debug(GAtHDLC *hdlc, GAtDebugFunc func, gpointer user_data) |