From: Bert Vermeulen Date: Sun, 19 Oct 2014 09:52:37 +0000 (+0200) Subject: Fix memory leak. X-Git-Tag: sigrok-cli-0.6.0~56 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=55bc37760beb4f7b2458d396f2264b050143caef;p=sigrok-cli.git Fix memory leak. --- diff --git a/show.c b/show.c index 4c872a2..c040078 100644 --- 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; }