diff options
Diffstat (limited to 'src/connect.c')
-rw-r--r-- | src/connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connect.c b/src/connect.c index 193a746..c25b21f 100644 --- a/src/connect.c +++ b/src/connect.c @@ -158,7 +158,7 @@ IceOpenConnection ( if ((iceConn->trans_conn = ConnectToPeer (networkIdsList, &iceConn->connection_string)) == NULL) { - free ((char *) iceConn); + free (iceConn); strncpy (errorStringRet, "Could not open network socket", errorLength); return (NULL); } @@ -392,7 +392,7 @@ IceOpenConnection ( iceConn->connection_string; _IceConnectionCount++; - free ((char *) iceConn->connect_to_you); + free (iceConn->connect_to_you); iceConn->connect_to_you = NULL; iceConn->connection_status = IceConnectAccepted; |