* 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);
|
||||
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…
Add table
Reference in a new issue