[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5269291A.7050406@cogentembedded.com>
Date: Thu, 24 Oct 2013 18:05:14 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Jing Wang <windsdaemon@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] net:sched fix a bug about memery leak
Hello.
On 10/24/2013 01:06 PM, Jing Wang wrote:
> From: Jing Wang <windsdaemon@...il.com>
> the code isn't properly release memory
> Signed-off-by: Jing Wang <windsdaemon@...il.com>
> ---
> net/sched/cls_route.c | 9 ++++++---
> 1 files changed, 6 insertions(+), 3 deletions(-)
> diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c
> index 37da567..118f8d5 100644
> --- a/net/sched/cls_route.c
> +++ b/net/sched/cls_route.c
[...]
> @@ -517,6 +517,9 @@ reinsert:
>
> errout:
> kfree(f);
> +errflt:
> + kfree(head);
Please indent with tab, not spaces.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists