summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 9d285d4ae3..340a0a3906 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -1162,7 +1162,7 @@ void release_level_2_oplocks_on_change(files_struct *fsp)
}
}
- SAFE_FREE((char *)share_list);
+ SAFE_FREE(share_list);
unlock_share_entry_fsp(fsp);
/* Paranoia check... */