From d3b1b51cbef3edfeefbc5b9edfdd8423c6d5e8e0 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 4 May 2011 19:46:33 +0200 Subject: [PATCH] LA8: Free memory from g_*alloc*() via g_freee(). --- hardware/chronovu-la8/chronovu-la8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }