From 7e0436ffdc444074a13b5463dcb1560372f6e23c Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Mon, 17 Jan 2011 20:19:25 +0100 Subject: [PATCH] Systray: Replace zcalloc with xcalloc (potential bug) --- src/systray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systray.c b/src/systray.c index 832b209..ecda7bb 100644 --- a/src/systray.c +++ b/src/systray.c @@ -85,7 +85,7 @@ systray_add(Window win) if(!conf.systray.active) return; - s = zcalloc(sizeof(Systray)); + s = xcalloc(1, sizeof(Systray)); s->win = win; s->geo.height = infobar[conf.systray.screen].bar->geo.height;