summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-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)