summaryrefslogtreecommitdiff
path: root/source3/locking/locking.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-12 23:06:33 +0100
committerVolker Lendecke <vl@samba.org>2008-01-12 23:57:12 +0100
commit8d464d470a534d2914eca7287aedaa4205478ca3 (patch)
tree1024e91dd4a2a4b9c4f29b746198b3725e2f09e3 /source3/locking/locking.c
parent5a8bbc64cc7327facb2a3d136b9c9a3e15a1903a (diff)
downloadsamba-8d464d470a534d2914eca7287aedaa4205478ca3.tar.gz
samba-8d464d470a534d2914eca7287aedaa4205478ca3.tar.bz2
samba-8d464d470a534d2914eca7287aedaa4205478ca3.zip
Don't early delete the share mode tdb data
We now refer directly to the file name in the tdb data, so don't delete it. (This used to be commit 71de4946cf00cf8b7bb2f2d92832166bee12e84a)
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r--source3/locking/locking.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index bae4518575..513bb31d9d 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -836,8 +836,6 @@ struct share_mode_lock *fetch_share_mode_unlocked(TALLOC_CTX *mem_ctx,
return NULL;
}
- TALLOC_FREE(data.dptr);
-
return lck;
}