diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2015-12-26 16:07:51 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2015-12-26 16:07:51 -0800 |
commit | 040c3a3327d6953ea272172f717d4e11dd3533ab (patch) | |
tree | 40348f7f32865291c156bb4d30ba8d9a055605f2 /xrdpapi/xrdpapi.c | |
parent | 4e0d0f3ba06028c27f80b47dacbd8a7d323e7a93 (diff) | |
download | xrdp-proprietary-040c3a3327d6953ea272172f717d4e11dd3533ab.tar.gz xrdp-proprietary-040c3a3327d6953ea272172f717d4e11dd3533ab.zip |
don't use g_free in xrdpapi
Diffstat (limited to 'xrdpapi/xrdpapi.c')
-rw-r--r-- | xrdpapi/xrdpapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdpapi/xrdpapi.c b/xrdpapi/xrdpapi.c index 7e9eaa0c..cd343e75 100644 --- a/xrdpapi/xrdpapi.c +++ b/xrdpapi/xrdpapi.c @@ -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; } |