summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c
index 63a2047..1002157 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -167,6 +167,9 @@ void feh_menu_free(feh_menu * m)
}
pl = l;
}
+ if (m->bg)
+ gib_imlib_free_image_and_decache(m->bg);
+
free(m);
D_RETURN_(4);