From: Uwe Hermann Date: Wed, 4 May 2011 17:46:33 +0000 (+0200) Subject: LA8: Free memory from g_*alloc*() via g_freee(). X-Git-Tag: libsigrok-0.1.0~262 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d3b1b51cbef3edfeefbc5b9edfdd8423c6d5e8e0;p=libsigrok.git LA8: Free memory from g_*alloc*() via g_freee(). --- diff --git a/hardware/chronovu-la8/chronovu-la8.c b/hardware/chronovu-la8/chronovu-la8.c index 0dea49be..0e602b9a 100644 --- a/hardware/chronovu-la8/chronovu-la8.c +++ b/hardware/chronovu-la8/chronovu-la8.c @@ -660,7 +660,7 @@ static int hw_closedev(int device_index) sdi->status = SR_ST_INACTIVE; sr_dbg("la8: %s: freeing sample buffers", __func__); - free(la8->final_buf); + g_free(la8->final_buf); return SR_OK; }