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:
parent
613a440fdc
commit
c03655bdfa
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user