dcb_alloc now explicitly sets the server and service pointers to NULL.
This commit is contained in:
@ -193,7 +193,8 @@ DCB *rval;
|
||||
rval->polloutbusy = 0;
|
||||
rval->writecheck = 0;
|
||||
rval->fd = DCBFD_CLOSED;
|
||||
|
||||
rval->server = NULL;
|
||||
rval->service = NULL;
|
||||
rval->evq.next = NULL;
|
||||
rval->evq.prev = NULL;
|
||||
rval->evq.pending_events = 0;
|
||||
|
||||
Reference in New Issue
Block a user