X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2Faoview_serial.c;fp=aoview%2Faoview_serial.c;h=1d8fefcedc94cb9ee1df1135bbb57cef005cbf56;hp=1721a28671d8a01ab7cd2d66cbd98be719cdf85b;hb=778cae8fc5a4b30e5045e4703316fc61ae18562a;hpb=bf140966e9649e75b884c8aa5f25ffbf9eed10ea diff --git a/aoview/aoview_serial.c b/aoview/aoview_serial.c index 1721a286..1d8fefce 100644 --- a/aoview/aoview_serial.c +++ b/aoview/aoview_serial.c @@ -259,6 +259,7 @@ aoview_serial_close(struct aoview_serial *serial) g_source_remove_poll(&serial->source, &serial->poll_fd); g_source_destroy(&serial->source); g_source_unref(&serial->source); + free(serial); } void