summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-09 14:36:50 +1100
committerAndrew Tridgell <tridge@samba.org>2009-12-09 18:18:25 +1100
commite5a478d3a23c1d9bb7ebd8c836a0c0a880839e34 (patch)
tree47cd90ceaced8374bcff252ff8e299c87f76f650 /source4/lib/ldb
parent33976711e349c9b5e2ddcacbba3d87acabfae75a (diff)
downloadsamba-e5a478d3a23c1d9bb7ebd8c836a0c0a880839e34.tar.gz
samba-e5a478d3a23c1d9bb7ebd8c836a0c0a880839e34.tar.bz2
samba-e5a478d3a23c1d9bb7ebd8c836a0c0a880839e34.zip
s4-ldb: added a missing ltdb_unlock_read()
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c
index a6647ccd50..268c2f3c35 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_search.c
@@ -567,6 +567,7 @@ int ltdb_search(struct ltdb_context *ctx)
* full search or we may return
* duplicate entries
*/
+ ltdb_unlock_read(module);
return LDB_ERR_OPERATIONS_ERROR;
}
ret = ltdb_search_full(ctx);