]> sigrok.org Git - libsigrok.git/commitdiff
LA8: Free memory from g_*alloc*() via g_freee().
authorUwe Hermann <redacted>
Wed, 4 May 2011 17:46:33 +0000 (19:46 +0200)
committerUwe Hermann <redacted>
Thu, 5 May 2011 11:06:14 +0000 (13:06 +0200)
hardware/chronovu-la8/chronovu-la8.c

index 0dea49be4903b1ffa916672682f4fe13877e998c..0e602b9a61387baa4bb143a78e2bcd7d4554093f 100644 (file)
@@ -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;
 }