diff options
| author | Richard M. Stallman | 1997-04-25 19:42:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-04-25 19:42:38 +0000 |
| commit | 0bf591dae10f583a9f0edb3c648dcddec188a7b3 (patch) | |
| tree | cd96f73965cf5cdb193fc4d8c6f3363448d79bb2 /src | |
| parent | cb1594575042fbfc3b8113859a1b37ff561a8715 (diff) | |
| download | emacs-0bf591dae10f583a9f0edb3c648dcddec188a7b3.tar.gz emacs-0bf591dae10f583a9f0edb3c648dcddec188a7b3.zip | |
(sort_args): Free the malloc'd memory.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
| 1319 | } | 1319 | } |
| 1320 | 1320 | ||
| 1321 | bcopy (new, argv, sizeof (char *) * argc); | 1321 | bcopy (new, argv, sizeof (char *) * argc); |
| 1322 | |||
| 1323 | free (options); | ||
| 1324 | free (new); | ||
| 1325 | free (priority); | ||
| 1322 | } | 1326 | } |
| 1323 | 1327 | ||
| 1324 | DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P", | 1328 | DEFUN ("kill-emacs", Fkill_emacs, Skill_emacs, 0, 1, "P", |