Merge branch 'richardgv-dev' of github.com:chjj/compton into richardgv-dev

This commit is contained in:
Richard Grenville 2014-09-07 16:07:26 +08:00
commit c5f45c8e3c
1 changed files with 1 additions and 1 deletions

View File

@ -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);