1
0
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:
Volker Lendecke 2006-11-25 16:41:06 +00:00 committed by Gerald (Jerry) Carter
parent b6933c3043
commit 235e8c9653

View File

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