LA8: free() sample buffers in hw_closedev().
Thanks Ken Mobley of ChronoVu for the report.
This commit is contained in:
parent
b08024a836
commit
2f5c8c9696
|
@ -612,6 +612,10 @@ static void hw_closedev(int device_index)
|
|||
}
|
||||
|
||||
sdi->status = SR_ST_INACTIVE;
|
||||
|
||||
sr_dbg("la8: %s: freeing sample buffers", __func__);
|
||||
free(la8->mangled_buf);
|
||||
free(la8->final_buf);
|
||||
}
|
||||
|
||||
static void hw_cleanup(void)
|
||||
|
|
Loading…
Reference in New Issue