mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
cmd_url_open(): fix memleak
This commit is contained in:
parent
274e695320
commit
b45384902d
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user