1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r19485: Fix Coverity # 319

(This used to be commit d12bdb6133)
This commit is contained in:
Volker Lendecke 2006-10-24 20:15:13 +00:00 committed by Gerald (Jerry) Carter
parent 7c95ae3aca
commit 3cee746a3f

View File

@ -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;