diff options
author | mæp <[email protected]> | 2014-08-06 20:42:57 +0200 |
---|---|---|
committer | mæp <[email protected]> | 2014-08-06 20:42:57 +0200 |
commit | 69eb07bb0a2ac0755261fe75ef88258d3eb5919c (patch) | |
tree | 564e47fe5fe2f0b1dd12a0718b9552ff6c6c98c0 /compton.h | |
parent | 42448622a0c442789f949f4bedf5b3623655bb3b (diff) | |
download | tdebase-69eb07bb0a2ac0755261fe75ef88258d3eb5919c.tar.gz tdebase-69eb07bb0a2ac0755261fe75ef88258d3eb5919c.zip |
fix crash caused by free of uninitialized pointer
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |