From 6835bd679c414a7d19a50cd6e99a53801cf4475e Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Tue, 15 Jul 1997 17:47:43 +0000 Subject: 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) --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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) -- cgit