diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-08 22:17:27 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-08 22:20:26 -0700 |
commit | 4033226105fa861ab5f0276850afc24c0fa45406 (patch) | |
tree | b1fa733e7b192caed635d3a181b06b95d58f5711 /src/accept.c | |
parent | 10c30ae6a7df1a7c352a1d611a313dffcaa42082 (diff) |
Get rid of casts to (char *) in calls to free()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/accept.c')
-rw-r--r-- | src/accept.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/accept.c b/src/accept.c index 6bc40ad..61bbd7f 100644 --- a/src/accept.c +++ b/src/accept.c @@ -95,7 +95,7 @@ IceAcceptConnection ( if (iceConn->connection_string == NULL) { _IceTransClose (newconn); - free ((char *) iceConn); + free (iceConn); *statusRet = IceAcceptBadMalloc; return (NULL); } @@ -111,7 +111,7 @@ IceAcceptConnection ( else { _IceTransClose (newconn); - free ((char *) iceConn); + free (iceConn); *statusRet = IceAcceptBadMalloc; return (NULL); } @@ -125,7 +125,7 @@ IceAcceptConnection ( { _IceTransClose (newconn); free (iceConn->inbuf); - free ((char *) iceConn); + free (iceConn); *statusRet = IceAcceptBadMalloc; return (NULL); } |