From: Christophe CURIS <christophe.cu...@free.fr> The memory was allocated with wmalloc, so for consistency it should be freed using wfree. This could be a problem if the user compiled with support for Boehm GC, or if we later decide to add support for other malloc libraries.
Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> --- util/getstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/getstyle.c b/util/getstyle.c index 2b7edb9..da211ac 100644 --- a/util/getstyle.c +++ b/util/getstyle.c @@ -175,7 +175,7 @@ static void findCopyFile(const char *dir, const char *file) return; } wcopy_file(dir, fullPath, fullPath); - free(fullPath); + wfree(fullPath); } #define THEME_SUBPATH "/Library/WindowMaker/Themes/" -- 2.1.1 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.