]> sigrok.org Git - sigrok-cli.git/commitdiff
Fix memory leak.
authorBert Vermeulen <redacted>
Sun, 19 Oct 2014 09:52:37 +0000 (11:52 +0200)
committerBert Vermeulen <redacted>
Sun, 19 Oct 2014 09:52:37 +0000 (11:52 +0200)
show.c

diff --git a/show.c b/show.c
index 4c872a29eca74d90612256f130b2c45a6af6539c..c040078c6082d2621608de03d1f1daa9ad1ea6ce 100644 (file)
--- a/show.c
+++ b/show.c
@@ -453,6 +453,7 @@ void show_dev_detail(void)
                                        printf("%s (current)", tmp_str);
                                }
                                printf("\n");
+                               g_free(tmp_str);
                                continue;
                        }