[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/14] init: fix memory leak
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 10/14] init: fix memory leak |
Date: |
Sat, 9 Nov 2013 19:13:56 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Fri 08 Nov 2013 21:24:18 +0100, a écrit :
> Found using the Clang Static Analyzer.
>
> * init/init.c (process_signal): Fix memory leak.
Ack.
> ---
> init/init.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/init/init.c b/init/init.c
> index 94f1a9b..de5dd6b 100644
> --- a/init/init.c
> +++ b/init/init.c
> @@ -961,6 +961,7 @@ process_signal (int signo)
> }
>
> launch_something (desc);
> + free (desc);
> }
> }
> }
> --
> 1.7.10.4
>
>
--
Samuel
<erno> hm. I've lost a machine.. literally _lost_. it responds to ping, it
works completely, I just can't figure out where in my apartment it is.
- [PATCH 01/14] term: fix error handling in hurdio_mdmctl, Justus Winter, 2013/11/08
- [PATCH 07/14] proc: fix the declaraton of genpid, Justus Winter, 2013/11/08
- [PATCH 11/14] auth: fix use of uninitialized variable err, Justus Winter, 2013/11/08
- [PATCH 10/14] init: fix memory leak, Justus Winter, 2013/11/08
- Re: [PATCH 10/14] init: fix memory leak,
Samuel Thibault <=
- [PATCH 14/14] mach-defpager: remove unused variables, Justus Winter, 2013/11/08
- [PATCH 04/14] proc: turn count_up and store_pid into normal functions, Justus Winter, 2013/11/08
- [PATCH 09/14] proc: fix error handling in S_proc_exception_raise, Justus Winter, 2013/11/08
- [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, Justus Winter, 2013/11/08