summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-07 22:25:02 -0800
committermetalefty <meta@vmeta.jp>2017-03-13 17:17:06 +0900
commit9cdcb38d87ca79305a3bf4abd67287f631840cb4 (patch)
tree705be856f767c7459dc679b5706e05d6d97382d8 /libxrdp
parent08ba9ed4a8afb8bc30a781af96bc5e9cbc547f62 (diff)
downloadxrdp-proprietary-9cdcb38d87ca79305a3bf4abd67287f631840cb4.tar.gz
xrdp-proprietary-9cdcb38d87ca79305a3bf4abd67287f631840cb4.zip
Fix memory leak in tls_ciphers parsing
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_rdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index 021e7932..ff53cb80 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -212,6 +212,7 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
"At least one protocol should be enabled to accept "
"TLS connections.");
}
+ g_free(tmp);
}
else if (g_strcasecmp(item, "tls_ciphers") == 0)
{