mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 02:25:09 +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.region2);
|
||||||
XFixesDestroyRegion(display, x11_stuff.part);
|
XFixesDestroyRegion(display, x11_stuff.part);
|
||||||
#endif /* HAVE_XDAMAGE */
|
#endif /* HAVE_XDAMAGE */
|
||||||
|
if (disp)
|
||||||
|
free(disp);
|
||||||
}
|
}
|
||||||
#endif /* X11 */
|
#endif /* X11 */
|
||||||
if(overwrite_file) {
|
if(overwrite_file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user