summaryrefslogtreecommitdiff
path: root/src/accept.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-08 22:17:27 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-08 22:20:26 -0700
commit4033226105fa861ab5f0276850afc24c0fa45406 (patch)
treeb1fa733e7b192caed635d3a181b06b95d58f5711 /src/accept.c
parent10c30ae6a7df1a7c352a1d611a313dffcaa42082 (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.c6
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);
}