mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
r19485: Fix Coverity # 319
(This used to be commit d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb)
This commit is contained in:
parent
16e98a60d1
commit
1fd4184da7
@ -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