tFree the malloc() ! - xmenu - drop-down menu for X11
HTML git clone git://git.z3bra.org/xmenu.git
DIR Log
DIR Files
DIR Refs
---
DIR commit ef10488524d19fc455dafb8fc84fbbe898ae0c85
DIR parent 72ba8a895a8f50ca3cd6ce21688683d3e421114c
HTML Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 20 Nov 2019 08:37:14 +0100
Free the malloc() !
Diffstat:
M xmenu.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/xmenu.c b/xmenu.c
t@@ -185,6 +185,8 @@ main(int argc, char *argv[])
hilight(wid, 0, (height/nent) * current, width, height/nent);
break;
}
+
+ free(ev);
}
if (current >= 0)