summaryrefslogtreecommitdiff
path: root/src/wallpaper.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-28 19:48:51 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-28 19:48:51 +0100
commit43cb03e314513a9a9cecf6d8922146832f0c6c2b (patch)
tree7bd565dc43de97b1b9a5d613798478416405ffc3 /src/wallpaper.c
parent1c9186fe1b8ea9c946abbd883e060bd3f94776db (diff)
fix memory leak (free exec_absolute_path)
Diffstat (limited to 'src/wallpaper.c')
-rw-r--r--src/wallpaper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index a34f033..8660cde 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -334,6 +334,7 @@ void feh_wm_gen_bg_script(char* fil, int centered, int scaled, int filled, int u
fclose(fp);
}
free(path);
+ free(exec_absolute_path);
}
void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,