Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
68db37aa
Commit
68db37aa
authored
Nov 30, 2004
by
Kim F. Storm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(malloc_initialize_hook): Don't free malloc_state_ptr if
XMALLOC_OVERRUN_CHECK to avoid crash during load.
parent
212f33f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/emacs.c
src/emacs.c
+6
-4
No files found.
src/emacs.c
View file @
68db37aa
...
...
@@ -584,7 +584,7 @@ init_cmdargs (argc, argv, skip_args)
They are decoded in the function command-line after we know
locale-coding-system. */
Vcommand_line_args
=
Fcons
(
make_unibyte_string
(
argv
[
i
],
strlen
(
argv
[
i
])),
=
Fcons
(
make_unibyte_string
(
argv
[
i
],
strlen
(
argv
[
i
])),
Vcommand_line_args
);
}
...
...
@@ -748,7 +748,9 @@ malloc_initialize_hook ()
}
malloc_set_state
(
malloc_state_ptr
);
#ifndef XMALLOC_OVERRUN_CHECK
free
(
malloc_state_ptr
);
#endif
}
else
{
...
...
@@ -1984,9 +1986,9 @@ sort_args (argc, argv)
bcopy
(
new
,
argv
,
sizeof
(
char
*
)
*
argc
);
free
(
options
);
free
(
new
);
free
(
priority
);
x
free
(
options
);
x
free
(
new
);
x
free
(
priority
);
}
DEFUN
(
"kill-emacs"
,
Fkill_emacs
,
Skill_emacs
,
0
,
1
,
"P"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment