LA8: Free memory from g_*alloc*() via g_freee().
This commit is contained in:
parent
340cfac0f0
commit
d3b1b51cbe
|
@ -660,7 +660,7 @@ static int hw_closedev(int device_index)
|
||||||
sdi->status = SR_ST_INACTIVE;
|
sdi->status = SR_ST_INACTIVE;
|
||||||
|
|
||||||
sr_dbg("la8: %s: freeing sample buffers", __func__);
|
sr_dbg("la8: %s: freeing sample buffers", __func__);
|
||||||
free(la8->final_buf);
|
g_free(la8->final_buf);
|
||||||
|
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue