1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

free(3) previously strdup(3)'ed disp

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
This commit is contained in:
Nikos Ntarmos 2009-05-28 16:48:58 +03:00 committed by Brenden Matthews
parent 613a440fdc
commit c03655bdfa

View File

@ -6786,6 +6786,8 @@ static void main_loop(void)
XFixesDestroyRegion(display, x11_stuff.region2);
XFixesDestroyRegion(display, x11_stuff.part);
#endif /* HAVE_XDAMAGE */
if (disp)
free(disp);
}
#endif /* X11 */
if(overwrite_file) {