summaryrefslogtreecommitdiff
path: root/src/accept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/accept.c')
-rw-r--r--src/accept.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/accept.c b/src/accept.c
index 6f23338..610e01b 100644
--- a/src/accept.c
+++ b/src/accept.c
@@ -110,6 +110,7 @@ IceAcceptConnection (
else
{
_IceTransClose (newconn);
+ free (iceConn->connection_string);
free (iceConn);
*statusRet = IceAcceptBadMalloc;
return (NULL);
@@ -122,6 +123,7 @@ IceAcceptConnection (
else
{
_IceTransClose (newconn);
+ free (iceConn->connection_string);
free (iceConn->inbuf);
free (iceConn);
*statusRet = IceAcceptBadMalloc;