From: Wolfram Sang Date: Thu, 11 May 2017 11:51:09 +0000 (+0200) Subject: output/csv: fix a minor leak X-Git-Tag: libsigrok-0.5.0~67 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=7e7d7bc074fd92d54c2851ad64ed443fdd58fc28;p=libsigrok.git output/csv: fix a minor leak Signed-off-by: Wolfram Sang --- diff --git a/src/output/csv.c b/src/output/csv.c index f3e6e335..dd94f28d 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -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);