From: Richard M. Stallman Date: Fri, 25 Apr 1997 19:42:38 +0000 (+0000) Subject: (sort_args): Free the malloc'd memory. X-Git-Tag: emacs-20.1~2382 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0bf591dae10f583a9f0edb3c648dcddec188a7b3;p=emacs.git (sort_args): Free the malloc'd memory. --- diff --git a/src/emacs.c b/src/emacs.c index a8bd976e734..ed5f89160c3 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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",