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

View File

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