aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/include/xtrans
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-07-03 22:38:26 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-07-03 22:38:49 +0200
commit15f69488dc712ac93714d17d2c4e88e09de187df (patch)
treef3b4de628cfbf4b16c5052bd6a758d225ed12898 /nx-X11/lib/include/xtrans
parent7bb238065d70f35413e7a32f242db7aa7fab9308 (diff)
downloadnx-libs-15f69488dc712ac93714d17d2c4e88e09de187df.tar.gz
nx-libs-15f69488dc712ac93714d17d2c4e88e09de187df.tar.bz2
nx-libs-15f69488dc712ac93714d17d2c4e88e09de187df.zip
nx-X11/lib/include/xtrans/Xtrans.c: Regression fix for 913fcf1a.
Remove one over-zealous free() call. Thanks to Ulrich Sibiller for spotting this.
Diffstat (limited to 'nx-X11/lib/include/xtrans')
-rw-r--r--nx-X11/lib/include/xtrans/Xtrans.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nx-X11/lib/include/xtrans/Xtrans.c b/nx-X11/lib/include/xtrans/Xtrans.c
index 033dd6cd7..aa9646261 100644
--- a/nx-X11/lib/include/xtrans/Xtrans.c
+++ b/nx-X11/lib/include/xtrans/Xtrans.c
@@ -1004,7 +1004,6 @@ TRANS(GetPeerAddr) (XtransConnInfo ciptr, int *familyp, int *addrlenp,
return -1;
}
memcpy(*addrp, ciptr->peeraddr, ciptr->peeraddrlen);
- free(addrp);
return 0;
}