X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=aoview%2Faoview_serial.c;h=1d8fefcedc94cb9ee1df1135bbb57cef005cbf56;hb=80cadf44f5f1accd6ddfca25c2af8d4d424f26d9;hp=1721a28671d8a01ab7cd2d66cbd98be719cdf85b;hpb=2c780d67b8a22d75a2da4b2af21fd35f0c6f5236;p=fw%2Faltos 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