From 8ea019723598b1d16fe39c6cc7039a302b7c21da Mon Sep 17 00:00:00 2001 From: Moritz Grimm Date: Fri, 15 Sep 2017 20:13:05 +0200 Subject: [PATCH] Fix memory leak (CID 172413) --- src/ezstream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ezstream.c b/src/ezstream.c index 4cc0661..c820454 100644 --- a/src/ezstream.c +++ b/src/ezstream.c @@ -162,6 +162,7 @@ _build_reencode_cmd(const char *extension, const char *fileName, custom_songinfo = xstrdup(songinfo); } } + xfree(songinfo); memset(dicts, 0, sizeof(dicts)); dicts[0].from = PLACEHOLDER_ARTIST;