]> sigrok.org Git - libsigrok.git/commitdiff
output/ascii/bits/hex: Remove stray g_free().
authorBert Vermeulen <redacted>
Mon, 21 Apr 2014 21:35:26 +0000 (23:35 +0200)
committerBert Vermeulen <redacted>
Mon, 21 Apr 2014 21:35:26 +0000 (23:35 +0200)
output/ascii.c
output/bits.c
output/hex.c

index 44bd0b1546a136676af1bafb90e02cc92b0f246b..967f1f6678cdec020728262131eb047ea5ed9de1 100644 (file)
@@ -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);
index e0c64864db5b42e6a67c83c18c394f3516d145ba..fa48e834530c88e54e0d3bddf95e5a092ff6e443 100644 (file)
@@ -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++)
index a49d9d9283b32be70b71114f2449e1e39255baf2..ea3a9d1c77b9406820a917a74c34e9653cc73146 100644 (file)
@@ -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);