]> sigrok.org Git - libsigrok.git/commitdiff
output/csv: fix a minor leak
authorWolfram Sang <redacted>
Thu, 11 May 2017 11:51:09 +0000 (13:51 +0200)
committerUwe Hermann <redacted>
Sat, 13 May 2017 20:34:16 +0000 (22:34 +0200)
Signed-off-by: Wolfram Sang <redacted>
src/output/csv.c

index f3e6e335e73907bc4927ddbee755d0bfadbb5a1d..dd94f28d694f61a039e95e1114f2cdeea129f5e8 100644 (file)
@@ -608,6 +608,7 @@ static int cleanup(struct sr_output *o)
                g_free((gpointer)ctx->frame);
                g_free((gpointer)ctx->comment);
                g_free((gpointer)ctx->gnuplot);
+               g_free((gpointer)ctx->value);
                g_free(ctx->previous_sample);
                g_free(ctx->channels);
                g_free(o->priv);