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 commit is contained in:
parent
9e93244fa5
commit
560f9d3735
@ -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