Fix memory leak in tls_ciphers parsing

This commit is contained in:
Pavel Roskin 2017-03-07 22:25:02 -08:00 committed by metalefty
parent 08ba9ed4a8
commit 9cdcb38d87

View File

@ -212,6 +212,7 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
"At least one protocol should be enabled to accept " "At least one protocol should be enabled to accept "
"TLS connections."); "TLS connections.");
} }
g_free(tmp);
} }
else if (g_strcasecmp(item, "tls_ciphers") == 0) else if (g_strcasecmp(item, "tls_ciphers") == 0)
{ {