From: Christophe CURIS <christophe.cu...@free.fr>

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 <christophe.cu...@free.fr>
---
 util/getstyle.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/getstyle.c b/util/getstyle.c
index 079b7d4..7c8f00b 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)
-- 
1.9.2


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to