]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: add one missing g_free
authorStefan Brüns <redacted>
Mon, 2 May 2016 22:22:12 +0000 (00:22 +0200)
committerUwe Hermann <redacted>
Mon, 16 May 2016 21:35:10 +0000 (23:35 +0200)
src/hardware/hameg-hmo/protocol.c

index 1f5e5de77b0f916787d8eb61a513e7e0b253c1b8..029edbd76750bf378988e0388ba0a707cfa0c85f 100644 (file)
@@ -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;