summaryrefslogtreecommitdiff
path: root/source/lib/ldb/common/ldb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/ldb/common/ldb.c')
-rw-r--r--source/lib/ldb/common/ldb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c
index c8aa6afdfc..743711b967 100644
--- a/source/lib/ldb/common/ldb.c
+++ b/source/lib/ldb/common/ldb.c
@@ -787,7 +787,6 @@ int ldb_search(struct ldb_context *ldb,
done:
if (ret != LDB_SUCCESS) {
talloc_free(res);
- res = NULL;
}
*_res = res;