projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613a440
)
free(3) previously strdup(3)'ed disp
author
Nikos Ntarmos
<ntarmos@cs.uoi.gr>
Thu, 28 May 2009 13:48:58 +0000
(16:48 +0300)
committer
Brenden Matthews
<brenden@rty.ca>
Fri, 29 May 2009 03:27:56 +0000
(21:27 -0600)
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>
src/conky.c
patch
|
blob
|
history
diff --git
a/src/conky.c
b/src/conky.c
index
a40e462
..
bec0f85
100644
(file)
--- a/
src/conky.c
+++ b/
src/conky.c
@@
-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) {