summaryrefslogtreecommitdiffstats
path: root/source/smbd/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/error.c')
-rw-r--r--source/smbd/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/error.c b/source/smbd/error.c
index 78425fafc66..d5d6d644e78 100644
--- a/source/smbd/error.c
+++ b/source/smbd/error.c
@@ -37,7 +37,7 @@ int cached_error_packet(char *outbuf,files_struct *fsp,int line,const char *file
int32 err = wbmpx->wr_error;
/* We can now delete the auxiliary struct */
- SAFE_FREE((char *)wbmpx);
+ SAFE_FREE(wbmpx);
return error_packet(outbuf,NT_STATUS_OK,eclass,err,line,file);
}