]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - grab_client.c
Merge topic branch t/overflow into master
[paraslash.git] / grab_client.c
index 393e2ce331117a6d29231f551b78103b6bfe9f83..1019e579a39d8559b2aecc658c7651fd6b7704dc 100644 (file)
@@ -261,7 +261,7 @@ static int gc_check_args(struct lls_parse_result *lpr, struct grab_client *gc)
 int grab_client_new(int fd, struct lls_parse_result *lpr, struct sched *s)
 {
        int ret;
-       struct grab_client *gc = para_calloc(sizeof(struct grab_client));
+       struct grab_client *gc = zalloc(sizeof(struct grab_client));
 
        ret = gc_check_args(lpr, gc);
        if (ret < 0)