diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index de7eb55c..5f6d8e60 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -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};