1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[command] Forgotten mem_free.

This commit is contained in:
Witold Filipczyk 2021-03-22 09:54:41 +01:00
parent 166b1dd378
commit 172184aed5

View File

@ -876,8 +876,10 @@ pass_uri_to_command(struct session *ses, struct document_view *doc_view,
block = sub->value.number;
}
if (!command)
if (!command) {
mem_free(text);
continue;
}
data = format_command(command, uri);
if (!data) {