diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-13 19:06:50 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-13 19:06:50 +0200 |
commit | 000695c54a905acb6b68a7ec550f4780447446ff (patch) | |
tree | 381e06609db5ee5b14d05fecebe04de7f61f50c2 | |
parent | 035f339fac8b74814a210d89f506882f4a0e29e3 (diff) |
WIP fix assert failed in list.c
-rw-r--r-- | nest/proto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index 652c6b48..ffc16617 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -626,6 +626,7 @@ channel_copy_config(struct channel_config *src, struct proto_config *proto) struct channel_config *dst = cfg_alloc(src->channel->config_size); memcpy(dst, src, src->channel->config_size); + memset(&dst->n, 0, sizeof(dst->n)); add_tail(&proto->channels, &dst->n); CALL(src->channel->copy_config, dst, src); |