diff options
author | Jeremy Allison <jra@samba.org> | 2001-12-27 06:34:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-12-27 06:34:48 +0000 |
commit | d222a01e0f046883a602cc4591a400b8e65ef6b5 (patch) | |
tree | fc194966bc8770ad07d52ea8343bb73638f0f387 /source/smbd/reply.c | |
parent | 26e4c4099c61c7ba9f2153e56061bea9882553d9 (diff) | |
download | samba-d222a01e0f046883a602cc4591a400b8e65ef6b5.tar.gz samba-d222a01e0f046883a602cc4591a400b8e65ef6b5.tar.xz samba-d222a01e0f046883a602cc4591a400b8e65ef6b5.zip |
Removed spurious (char *) casts in SAFE_FREE calls.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 4e286afe9f1..b4b1745fe20 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -4815,7 +4815,7 @@ int reply_writebs(connection_struct *conn, char *inbuf,char *outbuf, int dum_siz if (nwritten < (ssize_t)numtowrite) { if(write_through) { /* We are returning an error - we can delete the aux struct */ - SAFE_FREE((char *)wbms); + SAFE_FREE(wbms); fsp->wbmpx_ptr = NULL; END_PROFILE(SMBwriteBs); return(ERROR_DOS(ERRHRD,ERRdiskfull)); @@ -4834,7 +4834,7 @@ int reply_writebs(connection_struct *conn, char *inbuf,char *outbuf, int dum_siz send_response = True; } - SAFE_FREE((char *)wbms); + SAFE_FREE(wbms); fsp->wbmpx_ptr = NULL; } |