From: Stefan BrĂ¼ns Date: Mon, 2 May 2016 22:22:12 +0000 (+0200) Subject: hameg-hmo: add one missing g_free X-Git-Tag: libsigrok-0.5.0~390 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e5b7eef797ba16ca901fc0a91053329937bd5b26;p=libsigrok.git hameg-hmo: add one missing g_free --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index 1f5e5de7..029edbd7 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -570,6 +570,7 @@ SR_PRIV int hmo_scope_state_get(struct sr_dev_inst *sdi) sr_err("Could not determine array index for time base."); return SR_ERR; } + g_free(tmp_str); state->timebase = i;