mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
(sort_args): Free the malloc'd memory.
This commit is contained in:
parent
cb15945750
commit
0bf591dae1
1 changed files with 4 additions and 0 deletions
|
|
@ -1319,6 +1319,10 @@ sort_args (argc, argv)
|
|||
}
|
||||
|
||||
bcopy (new, argv, sizeof (char *) * argc);
|
||||
|
||||
free (options);
|
||||
free (new);
|
||||
free (priority);
|
||||
}
|
||||
|
||||
DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue