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.

nsz

Reply via email to