diff options
author | daixj <daixj@shterm.com> | 2018-01-29 15:27:24 +0800 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2018-02-13 16:44:37 +0900 |
commit | 828079b442383395e7ce0d34632b70e81fa8a9dc (patch) | |
tree | 56252c5856c9749adeeb30ad4304caf8d390fb5b /libxrdp | |
parent | ea6bb62410aef141f67225c3eac3b03cae285030 (diff) | |
download | xrdp-proprietary-828079b442383395e7ce0d34632b70e81fa8a9dc.tar.gz xrdp-proprietary-828079b442383395e7ce0d34632b70e81fa8a9dc.zip |
libxrdp: fix memory leak
Diffstat (limited to 'libxrdp')
-rw-r--r-- | libxrdp/libxrdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c index 41ff1472..99da37f8 100644 --- a/libxrdp/libxrdp.c +++ b/libxrdp/libxrdp.c @@ -847,6 +847,7 @@ libxrdp_set_pointer(struct xrdp_session *session, int cache_idx) LLOGLN(10, ("libxrdp_send_pointer: fastpath")); if (xrdp_rdp_init_fastpath((struct xrdp_rdp *)session->rdp, s) != 0) { + free_stream(s); return 1; } } |