1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* lib-src/etags.c (process_file_name): Free malloc'ed vars (bug#61819).

This commit is contained in:
Eli Zaretskii 2023-02-26 20:03:20 +02:00
parent dde9d149af
commit 0fde314f6f

View File

@ -1732,6 +1732,8 @@ process_file_name (char *file, language *lang)
char *cmd = xmalloc (buf_len);
snprintf (cmd, buf_len, "%s %s > %s",
compr->command, new_real_name, new_tmp_name);
free (new_real_name);
free (new_tmp_name);
#endif
inf = (system (cmd) == -1
? NULL