From b6fb04624910964111a1ad90dbe1ebae7981ba6f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 6 Jun 2005 15:21:09 +0000 Subject: r7344: Correctly return if malloc fails. Jeremy, you might want to check this. Thanks, Volker (This used to be commit 560f9d37353f6b886996144215f99e06f2513007) --- source3/smbd/process.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index e79686b43e..afde2e94a9 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -116,6 +116,7 @@ static BOOL push_queued_message(enum q_type qt, char *buf, int msg_len, struct t DEBUG(0,("push_message: malloc fail (3)\n")); data_blob_free(&msg->buf); SAFE_FREE(msg); + return False; } } -- cgit