X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sync_filter.c;h=9c1767e41aaa4cd65c790a48ed6078cf98d43aaf;hb=26a032fffa6c6e6f092ed3d14c2b5f08e5c736d6;hp=6fdf8e4664c8dce0b46ab233a85d8ef218a8a032;hpb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;p=paraslash.git diff --git a/sync_filter.c b/sync_filter.c index 6fdf8e46..9c1767e4 100644 --- a/sync_filter.c +++ b/sync_filter.c @@ -102,7 +102,7 @@ static void sync_open(struct filter_node *fn) unsigned buddy_given; const struct lls_opt_result *r_b; - ctx = fn->private_data = para_calloc(sizeof(*ctx)); + ctx = fn->private_data = zalloc(sizeof(*ctx)); init_list_head(&ctx->buddies); /* create socket to listen for incoming packets */