summaryrefslogtreecommitdiffstats
path: root/source/locking
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
commit71de4946cf00cf8b7bb2f2d92832166bee12e84a (patch)
treef44bbcc9a48f6b960ee3c3558eb9f00213537b94 /source/locking
parent616bc34744487450edd47e212a29c0f57eabb722 (diff)
downloadsamba-71de4946cf00cf8b7bb2f2d92832166bee12e84a.tar.gz
samba-71de4946cf00cf8b7bb2f2d92832166bee12e84a.tar.xz
samba-71de4946cf00cf8b7bb2f2d92832166bee12e84a.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.
Diffstat (limited to 'source/locking')
-rw-r--r--source/locking/locking.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c
index bae45185754..513bb31d9da 100644
--- a/source/locking/locking.c
+++ b/source/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;
}