diff options
author | akallabeth <akallabeth@posteo.net> | 2022-06-24 12:53:15 +0300 |
---|---|---|
committer | akallabeth <akallabeth@posteo.net> | 2022-06-24 12:56:51 +0300 |
commit | 1286fdfff27fb0750efb8dcf2d5695b16bfedf6a (patch) | |
tree | f6df05a3cdd4c0ffd8a1b2de431f093cfeb027a7 /src | |
parent | 8ed56b6e50a9a6c9df87bff84dfcbc379adbccf4 (diff) |
Fixed a memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/remmina_ssh_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remmina_ssh_plugin.c b/src/remmina_ssh_plugin.c index 47a45ea84..f78981371 100644 --- a/src/remmina_ssh_plugin.c +++ b/src/remmina_ssh_plugin.c @@ -1263,6 +1263,8 @@ remmina_plugin_ssh_init(RemminaProtocolWidget *gp) sshlogname = remmina_file_format_properties(remminafile, sshlogname); fp = g_strconcat(dir, "/", sshlogname, NULL); + g_free(sshlogname); + gpdata->vte_session_file = g_file_new_for_path(fp); g_free(fp); |