diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-12 23:06:33 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-12 23:57:12 +0100 |
commit | 71de4946cf00cf8b7bb2f2d92832166bee12e84a (patch) | |
tree | f44bbcc9a48f6b960ee3c3558eb9f00213537b94 | |
parent | 616bc34744487450edd47e212a29c0f57eabb722 (diff) | |
download | samba-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.
-rw-r--r-- | source/locking/locking.c | 2 |
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; } |