LA8: free() sample buffers in hw_closedev().

Thanks Ken Mobley of ChronoVu for the report.
This commit is contained in:
Uwe Hermann 2011-04-15 20:05:45 +02:00
parent b08024a836
commit 2f5c8c9696
1 changed files with 4 additions and 0 deletions

View File

@ -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)