summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2014-09-07 16:07:26 +0800
committerRichard Grenville <pyxlcy@gmail.com>2014-09-07 16:07:26 +0800
commit886cdca8a59d0ce17d380560490ea06b9f089aa3 (patch)
tree010f6eefe82b8b94b8dc1bfac725c05e4831f652
parent882d38739957f4a8f1b2571880262082fa431e93 (diff)
parent69eb07bb0a2ac0755261fe75ef88258d3eb5919c (diff)
downloadtdebase-886cdca8a59d0ce17d380560490ea06b9f089aa3.tar.gz
tdebase-886cdca8a59d0ce17d380560490ea06b9f089aa3.zip
Merge branch 'richardgv-dev' of github.com:chjj/compton into richardgv-dev
-rw-r--r--compton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compton.h b/compton.h
index 637d13f34..4844c9c42 100644
--- a/compton.h
+++ b/compton.h
@@ -351,7 +351,7 @@ isdamagenotify(session_t *ps, const XEvent *ev) {
*/
static inline XTextProperty *
make_text_prop(session_t *ps, char *str) {
- XTextProperty *pprop = cmalloc(1, XTextProperty);
+ XTextProperty *pprop = ccalloc(1, XTextProperty);
if (XmbTextListToTextProperty(ps->dpy, &str, 1, XStringStyle, pprop)) {
cxfree(pprop->value);