mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r14333: Fix coverity #77, ensure we can't exit after allocation.
Jeremy.
(This used to be commit 15d78ab1fc
)
This commit is contained in:
parent
cc41fa4ad7
commit
53019f5a16
@ -816,6 +816,10 @@ static int smb_full_audit_connect(vfs_handle_struct *handle, connection_struct *
|
||||
const char *none[] = { NULL };
|
||||
const char *all [] = { "all" };
|
||||
|
||||
if (!handle) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
pd = SMB_MALLOC_P(struct vfs_full_audit_private_data);
|
||||
if (!pd) {
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user