Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/remmina-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2020-05-11 01:25:01 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-05-11 01:25:01 +0300
commita44deced5b8cbee7d1a7c3e2ceccaa42b3fce882 (patch)
treebba67f8cb3f59c82a96f03a737f701d3939d2c07
parentc2a81834fc71cfe6a84f4a277a74fa2b26fe5baa (diff)
Double free in the nx plugin, fixes #2173
-rw-r--r--nx_plugin.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nx_plugin.c b/nx_plugin.c
index ba4a180..0c553d1 100644
--- a/nx_plugin.c
+++ b/nx_plugin.c
@@ -354,10 +354,7 @@ static gboolean remmina_plugin_nx_start_session(RemminaProtocolWidget *gp)
if (s1 && s2) {
ret = remmina_nx_session_login(nx, s1, s2);
- }else {
- g_free(s1);
- g_free(s2);
-
+ } else {
gchar *s_username, *s_password;
disablepasswordstoring = remmina_plugin_nx_service->file_get_int(remminafile, "disablepasswordstoring", FALSE);