missed one instance of bug fixed in previous change
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.152 2001/02/22 23:16:59 gson Exp $ */
|
||||
/* $Id: client.c,v 1.153 2001/02/22 23:39:11 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -1523,8 +1523,10 @@ client_create(ns_clientmgr_t *manager, ns_client_t **clientp)
|
||||
|
||||
/* XXXRTH Hardwired constants */
|
||||
client->sendbuf = isc_mem_get(manager->mctx, SEND_BUFFER_SIZE);
|
||||
if (client->sendbuf == NULL)
|
||||
if (client->sendbuf == NULL) {
|
||||
result = ISC_R_NOMEMORY;
|
||||
goto cleanup_message;
|
||||
}
|
||||
|
||||
client->sendevent = (isc_socketevent_t *)
|
||||
isc_event_allocate(manager->mctx, client,
|
||||
|
||||
Reference in New Issue
Block a user