From 8fe48f1377c8b501e9b090748b195c62f5b582d2 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 Mar 1999 11:39:24 +0000 Subject: Initialize allocated struct proto :-) --- nest/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest/proto.c') diff --git a/nest/proto.c b/nest/proto.c index 99a4e85..1715585 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -77,7 +77,7 @@ void * proto_new(struct proto_config *c, unsigned size) { struct protocol *pr = c->proto; - struct proto *p = mb_alloc(proto_pool, size); + struct proto *p = mb_allocz(proto_pool, size); p->cf = c; p->debug = c->debug; -- cgit v1.2.3