[dwm] minor memory leak

From: Szabolcs Nagy <nszabolcs_AT_gmail.com>
Date: Tue, 5 Dec 2006 20:34:01 +0100

running dwm in valgrind i found the following leak:

main.c(107) in setup: XFree(modmap->modifiermap) is needed

valgrind also reports leak in XCreateFontCursor (main.c(96)) and
apparently there is no XFreeCursor in cleanup(), but after i added
XFreeCursor(dpy, cursor[CurNormal]);.. to cleanup() the leak is still
there for some reason.

Received on Tue Dec 05 2006 - 20:34:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:27 UTC