use scalloc instead of some places where calloc was still used

This commit is contained in:
Michael Stapelberg
2010-03-02 14:42:24 +01:00
parent aae824b1f3
commit d08ec00329
3 changed files with 6 additions and 6 deletions

View File

@ -160,7 +160,7 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
LOG("Managing window 0x%08x\n", child);
DLOG("x = %d, y = %d, width = %d, height = %d\n", x, y, width, height);
new = calloc(sizeof(Client), 1);
new = scalloc(sizeof(Client));
new->force_reconfigure = true;
/* Update the data structures */