mirror of git://git.sysmocom.de/ofono
gathdlc: Free the main HDLC structure on unref
This commit is contained in:
parent
45c1bcb1d9
commit
75e6a4707b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue