mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00:00
* lib-src/etags.c (process_file_name): Free malloc'ed vars (bug#61819).
This commit is contained in:
parent
dde9d149af
commit
0fde314f6f
1 changed files with 2 additions and 0 deletions
|
@ -1732,6 +1732,8 @@ process_file_name (char *file, language *lang)
|
||||||
char *cmd = xmalloc (buf_len);
|
char *cmd = xmalloc (buf_len);
|
||||||
snprintf (cmd, buf_len, "%s %s > %s",
|
snprintf (cmd, buf_len, "%s %s > %s",
|
||||||
compr->command, new_real_name, new_tmp_name);
|
compr->command, new_real_name, new_tmp_name);
|
||||||
|
free (new_real_name);
|
||||||
|
free (new_tmp_name);
|
||||||
#endif
|
#endif
|
||||||
inf = (system (cmd) == -1
|
inf = (system (cmd) == -1
|
||||||
? NULL
|
? NULL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue