1
0
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:
Volker Lendecke
2006-11-25 16:39:34 +00:00
committed by Gerald (Jerry) Carter
parent 4d44388929
commit b6933c3043

View File

@@ -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) {