mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r19485: Fix Coverity # 319
This commit is contained in:
parent
c3f860e55d
commit
d9f1697c1f
@ -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