Skip to content

Commit

Permalink
free slices pixmap
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbush committed Sep 21, 2020
1 parent 9226731 commit 64397f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,7 @@ cleanmenu(struct Menu *menu)
if (tmp->label != tmp->output)
free(tmp->label);
free(tmp->output);
XFreePixmap(dpy, slice->pixmap);
if (tmp->file != NULL) {
free(tmp->file);
if (tmp->icon != NULL) {
Expand Down

0 comments on commit 64397f2

Please sign in to comment.