diff options
author | jilles <jilles@FreeBSD.org> | 2014-04-14 21:26:34 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-04-14 21:26:34 +0000 |
commit | 813864aadb85d56ff09c1dcac212be2307bba3ed (patch) | |
tree | 8263de031cf1c7ceb7cb3e0f527b28807f170218 /bin/sh/exec.c | |
parent | 35cde107ba8c9d8dab202424e39a194305eb6524 (diff) | |
download | FreeBSD-src-813864aadb85d56ff09c1dcac212be2307bba3ed.zip FreeBSD-src-813864aadb85d56ff09c1dcac212be2307bba3ed.tar.gz |
MFC r263777: sh: Fix possible memory leaks and double frees with unexpected
SIGINT.
Diffstat (limited to 'bin/sh/exec.c')
-rw-r--r-- | bin/sh/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/exec.c b/bin/sh/exec.c index 5f30ec6..e547e31 100644 --- a/bin/sh/exec.c +++ b/bin/sh/exec.c @@ -612,6 +612,7 @@ defun(const char *name, union node *func) /* * Delete a function if it exists. + * Called with interrupts off. */ int |