summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-06-06 15:21:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:06 -0500
commitb6fb04624910964111a1ad90dbe1ebae7981ba6f (patch)
tree2b3d604faa3aa3bb8947f7ac81bdaad5308c161e /source3/smbd
parent7344cc3ba4031b00cb0bd3636a0bbbbd01c394a5 (diff)
downloadsamba-b6fb04624910964111a1ad90dbe1ebae7981ba6f.tar.gz
samba-b6fb04624910964111a1ad90dbe1ebae7981ba6f.tar.bz2
samba-b6fb04624910964111a1ad90dbe1ebae7981ba6f.zip
r7344: Correctly return if malloc fails.
Jeremy, you might want to check this. Thanks, Volker (This used to be commit 560f9d37353f6b886996144215f99e06f2513007)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}