summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-15 17:47:43 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-15 17:47:43 +0000
commit6835bd679c414a7d19a50cd6e99a53801cf4475e (patch)
tree33de499d6898aa687f6469cbf11dfe5962a62f98
parent010ed1ccd2fbf487aa80a0c27c973741a2c9817a (diff)
downloadsamba-6835bd679c414a7d19a50cd6e99a53801cf4475e.tar.gz
samba-6835bd679c414a7d19a50cd6e99a53801cf4475e.tar.bz2
samba-6835bd679c414a7d19a50cd6e99a53801cf4475e.zip
Fix silly crash bug in FAST_SHARE_MODES (same bug as was in
SLOW_SHARE_MODES - duh !). Jeremy (jallison@whistle.com) (This used to be commit d38ac4f3a2fb47d3e2ca7d5f788130064502c6eb)
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 64dc207cb7..f579a75a0b 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -301,7 +301,7 @@ record mode 0x%X pid=%d\n", entry_scanner_p->share_mode, entry_scanner_p->pid));
hash bucket %d has a share mode record but no entries - deleting\n",
dev, inode, hash_entry));
if(*old_shares)
- free((char *)old_shares);
+ free((char *)*old_shares);
*old_shares = 0;
if(file_prev_p == file_scanner_p)