From: Bert Vermeulen Date: Mon, 21 Apr 2014 21:35:26 +0000 (+0200) Subject: output/ascii/bits/hex: Remove stray g_free(). X-Git-Tag: libsigrok-0.3.0~70 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bda100ec0f99166ff391a4f4b44662a6eed5641b;p=libsigrok.git output/ascii/bits/hex: Remove stray g_free(). --- diff --git a/output/ascii.c b/output/ascii.c index 44bd0b15..967f1f66 100644 --- a/output/ascii.c +++ b/output/ascii.c @@ -209,7 +209,6 @@ static int cleanup(struct sr_output *o) if (!(ctx = o->internal)) return SR_OK; - g_free(ctx->header); g_free(ctx->channel_index); g_free(ctx->prev_sample); g_free(ctx->channel_names); diff --git a/output/bits.c b/output/bits.c index e0c64864..fa48e834 100644 --- a/output/bits.c +++ b/output/bits.c @@ -197,7 +197,6 @@ static int cleanup(struct sr_output *o) if (!(ctx = o->internal)) return SR_OK; - g_free(ctx->header); g_free(ctx->channel_index); g_free(ctx->channel_names); for (i = 0; i < ctx->num_enabled_channels; i++) diff --git a/output/hex.c b/output/hex.c index a49d9d92..ea3a9d1c 100644 --- a/output/hex.c +++ b/output/hex.c @@ -210,7 +210,6 @@ static int cleanup(struct sr_output *o) if (!(ctx = o->internal)) return SR_OK; - g_free(ctx->header); g_free(ctx->channel_index); g_free(ctx->sample_buf); g_free(ctx->channel_names);