mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Fix all memleaks that are clearly visible,
the default config should now run without memleaks, valgrind will still report memleaks caused by the own_window-lines and the xft-lines (in some cases) but those are caused by code that's not part of conky
This commit is contained in:
parent
4addf71241
commit
4c241bbf16
@ -52,6 +52,7 @@ void setup_fonts(void)
|
||||
if (use_xft) {
|
||||
if (window.xftdraw) {
|
||||
XftDrawDestroy(window.xftdraw);
|
||||
window.xftdraw = 0;
|
||||
}
|
||||
window.xftdraw = XftDrawCreate(display, window.drawable,
|
||||
DefaultVisual(display, screen), DefaultColormap(display, screen));
|
||||
|
Loading…
Reference in New Issue
Block a user