Fix memory leak.
authorBert Vermeulen <bert@biot.com>
Sun, 19 Oct 2014 09:52:37 +0000 (11:52 +0200)
committerBert Vermeulen <bert@biot.com>
Sun, 19 Oct 2014 09:52:37 +0000 (11:52 +0200)
show.c

diff --git a/show.c b/show.c
index 4c872a2..c040078 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;
                        }