mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r19891: Fix klokwork id 2189
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4d44388929
commit
b6933c3043
@@ -187,7 +187,9 @@ static int asq_reqs_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) {
|
||||
|
||||
Reference in New Issue
Block a user