diff options
Diffstat (limited to 'gatchat')
-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) |