mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
r19892: Fix klokwork id 2190
This commit is contained in:
parent
b6933c3043
commit
235e8c9653
@ -241,7 +241,10 @@ static int asq_search(struct ldb_module *module, struct ldb_request *req)
|
||||
if (!h) {
|
||||
return LDB_ERR_OPERATIONS_ERROR;
|
||||
}
|
||||
ac = talloc_get_type(h->private_data, struct asq_context);
|
||||
if (!(ac = talloc_get_type(h->private_data, struct asq_context))) {
|
||||
|
||||
return LDB_ERR_OPERATIONS_ERROR;
|
||||
}
|
||||
|
||||
req->handle = h;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user