summaryrefslogtreecommitdiff
path: root/aoview/aoview_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'aoview/aoview_serial.c')
-rw-r--r--aoview/aoview_serial.c1
1 files changed, 1 insertions, 0 deletions
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