mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* lib-src/etags.c (process_file_name): Free malloc'ed vars (bug#61819).
This commit is contained in:
parent
dde9d149af
commit
0fde314f6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user