changeset 17563:b696f990c544

(sort_args): Free the malloc'd memory.
author Richard M. Stallman <rms@gnu.org>
date Fri, 25 Apr 1997 19:42:38 +0000
parents 512c5e112d10
children 050f15e0b948
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Fri Apr 25 18:14:10 1997 +0000
+++ b/src/emacs.c	Fri Apr 25 19:42:38 1997 +0000
@@ -1319,6 +1319,10 @@
     }
 
   bcopy (new, argv, sizeof (char *) * argc);
+
+  free (options);
+  free (new);
+  free (priority);
 }
 
 DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P",