From 1a9ece0438c4220a599c446eadd1bf069e66f75b Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Mon, 16 Jun 2014 20:15:21 +0200 Subject: [PATCH] util: fix leak in getstyle's makeThemePack (Coverity #50164) As pointed by Coverity, the function is creating a temporary array with the list of keys of the Style dictionnary, but it was not freed in the end. Signed-off-by: Christophe CURIS --- util/getstyle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/getstyle.c b/util/getstyle.c index 079b7d40..7c8f00b4 100644 --- a/util/getstyle.c +++ b/util/getstyle.c @@ -279,6 +279,7 @@ static void makeThemePack(WMPropList * style, const char *themeName) } } } + WMReleasePropList(keys); } int main(int argc, char **argv)