diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2020-05-11 01:25:01 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2020-05-11 01:25:01 +0300 |
commit | e4f84e02a0f554bf529e864a73825b58e0276308 (patch) | |
tree | ee6963be336f5800b443d7167c3b3054ed8c66d0 /plugins/nx | |
parent | a4a35529898eb9503a79d0378e60c1a3abd57d65 (diff) |
Double free in the nx plugin, fixes #2173
Diffstat (limited to 'plugins/nx')
-rw-r--r-- | plugins/nx/nx_plugin.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/nx/nx_plugin.c b/plugins/nx/nx_plugin.c index ba4a180d0..0c553d1ed 100644 --- a/plugins/nx/nx_plugin.c +++ b/plugins/nx/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); |