mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
r19485: Fix Coverity # 319
(This used to be commit d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32)
This commit is contained in:
parent
7c95ae3aca
commit
3cee746a3f
@ -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…
x
Reference in New Issue
Block a user