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.

Reply via email to