git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a8bbc6
)
Don't early delete the share mode tdb data
author
Volker Lendecke
<vl@samba.org>
Sat, 12 Jan 2008 22:06:33 +0000
(23:06 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 12 Jan 2008 22:57:12 +0000
(23:57 +0100)
We now refer directly to the file name in the tdb data, so don't delete it.
(This used to be commit
71de4946cf00cf8b7bb2f2d92832166bee12e84a
)
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index bae4518575452d0ce9834a1f97e64134f90a2c81..513bb31d9da7b4e34aa24a43a24c4525d7f0e5f8 100644
(file)
--- 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;
}