mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r7344: Correctly return if malloc fails.
Jeremy, you might want to check this.
Thanks,
Volker
(This used to be commit 560f9d3735
)
This commit is contained in:
parent
7344cc3ba4
commit
b6fb046249
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user