cmd_url_open(): fix memleak

This commit is contained in:
Michael Vetter
2020-07-02 10:10:53 +02:00
parent 274e695320
commit b45384902d

View File

@@ -9003,6 +9003,7 @@ cmd_url_open(ProfWin *window, const char *const command, gchar **args)
if( 0 == g_strcmp0(scheme, "aesgcm")) {
require_save = true;
}
g_free(scheme);
if (require_save) {
gchar *save_args[] = { "open", args[1], "/tmp/profanity.tmp", NULL};