diff options
Diffstat (limited to 'source3/namedbresp.c')
-rw-r--r-- | source3/namedbresp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/namedbresp.c b/source3/namedbresp.c index 98f8ca774b..86d7eddbd4 100644 --- a/source3/namedbresp.c +++ b/source3/namedbresp.c @@ -104,6 +104,8 @@ struct response_record *make_response_queue_record(enum state_type state, if (!(n = (struct response_record *)malloc(sizeof(*n)))) return(NULL); + bzero((char *)n, sizeof(*n)); + n->response_id = id; n->state = state; n->fd = fd; |