diff --git a/device.c b/device.c index f437c18a..fc8477a1 100644 --- a/device.c +++ b/device.c @@ -325,6 +325,7 @@ SR_PRIV void sr_serial_dev_inst_free(struct sr_serial_dev_inst *serial) g_free(serial->port); g_free(serial->serialcomm); + g_free(serial); }