diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-04 12:39:24 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-04 12:39:24 +0100 |
commit | 8fe48f1377c8b501e9b090748b195c62f5b582d2 (patch) | |
tree | 12779792116c1f902ae1b076a62e48cba0b48d8e /nest/proto.c | |
parent | 7a2105becdbadf20c1b4e4d2359e339c90610825 (diff) | |
download | bird-8fe48f1377c8b501e9b090748b195c62f5b582d2.tar bird-8fe48f1377c8b501e9b090748b195c62f5b582d2.zip |
Initialize allocated struct proto :-)
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |