1
0
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:
Volker Lendecke 2005-06-06 15:21:09 +00:00 committed by Gerald (Jerry) Carter
parent 9e93244fa5
commit 560f9d3735

View File

@ -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;
}
}