don't use g_free in xrdpapi

ulab-next-nosound
Jay Sorg 9 years ago
parent 4e0d0f3ba0
commit 040c3a3327

@ -126,7 +126,7 @@ WTSVirtualChannelOpenEx(unsigned int SessionId, const char *pVirtualName,
/* we use unix domain socket to communicate with chansrv */
if ((wts->fd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
{
g_free(wts);
free(wts);
return NULL;
}

Loading…
Cancel
Save