mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
r19890: Fix klokwork ID 2188
This commit is contained in:
parent
1bd660fb91
commit
4d44388929
@ -161,7 +161,9 @@ static int asq_base_callback(struct ldb_context *ldb, void *context, struct ldb_
|
||||
goto error;
|
||||
}
|
||||
|
||||
ac = talloc_get_type(context, struct asq_context);
|
||||
if (!(ac = talloc_get_type(context, struct asq_context))) {
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* we are interested only in the single reply (base search) we receive here */
|
||||
if (ares->type == LDB_REPLY_ENTRY) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user