mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r19485: Fix Coverity # 319
This commit is contained in:
parent
81a975100c
commit
d12bdb6133
@ -817,7 +817,7 @@ static int lldb_connect(struct ldb_context *ldb,
|
||||
}
|
||||
|
||||
*module = talloc(ldb, struct ldb_module);
|
||||
if (!module) {
|
||||
if (*module == NULL) {
|
||||
ldb_oom(ldb);
|
||||
talloc_free(lldb);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user