output/ascii/bits/hex: Remove stray g_free().
This commit is contained in:
parent
1e1dac0c07
commit
bda100ec0f
|
@ -209,7 +209,6 @@ static int cleanup(struct sr_output *o)
|
||||||
if (!(ctx = o->internal))
|
if (!(ctx = o->internal))
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
|
|
||||||
g_free(ctx->header);
|
|
||||||
g_free(ctx->channel_index);
|
g_free(ctx->channel_index);
|
||||||
g_free(ctx->prev_sample);
|
g_free(ctx->prev_sample);
|
||||||
g_free(ctx->channel_names);
|
g_free(ctx->channel_names);
|
||||||
|
|
|
@ -197,7 +197,6 @@ static int cleanup(struct sr_output *o)
|
||||||
if (!(ctx = o->internal))
|
if (!(ctx = o->internal))
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
|
|
||||||
g_free(ctx->header);
|
|
||||||
g_free(ctx->channel_index);
|
g_free(ctx->channel_index);
|
||||||
g_free(ctx->channel_names);
|
g_free(ctx->channel_names);
|
||||||
for (i = 0; i < ctx->num_enabled_channels; i++)
|
for (i = 0; i < ctx->num_enabled_channels; i++)
|
||||||
|
|
|
@ -210,7 +210,6 @@ static int cleanup(struct sr_output *o)
|
||||||
if (!(ctx = o->internal))
|
if (!(ctx = o->internal))
|
||||||
return SR_OK;
|
return SR_OK;
|
||||||
|
|
||||||
g_free(ctx->header);
|
|
||||||
g_free(ctx->channel_index);
|
g_free(ctx->channel_index);
|
||||||
g_free(ctx->sample_buf);
|
g_free(ctx->sample_buf);
|
||||||
g_free(ctx->channel_names);
|
g_free(ctx->channel_names);
|
||||||
|
|
Loading…
Reference in New Issue