From bda100ec0f99166ff391a4f4b44662a6eed5641b Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 21 Apr 2014 23:35:26 +0200 Subject: [PATCH] output/ascii/bits/hex: Remove stray g_free(). --- output/ascii.c | 1 - output/bits.c | 1 - output/hex.c | 1 - 3 files changed, 3 deletions(-) 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);