Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: <wang.yi59@zte.com.cn>
To: <sergei.shtylyov@cogentembedded.com>
Cc: <paul.burton@mips.com>, <mturquette@baylibre.com>,
	<sboyd@kernel.org>, <linux-mips@linux-mips.org>,
	<linux-clk@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<zhong.weidong@zte.com.cn>
Subject: Re: [PATCH] clk: boston: fix possible memory leak inclk_boston_setup()
Date: Mon, 29 Oct 2018 16:24:31 +0800 (CST)	[thread overview]
Message-ID: <201810291624314997508@zte.com.cn> (raw)
In-Reply-To: <5484fe07-5909-dc67-5de6-72e878060a54@cogentembedded.com>


[-- Attachment #1.1: Type: text/plain, Size: 349 bytes --]

Hi Sergei,

> Hello!
>
> On 10/29/2018 11:04 AM, Yi Wang wrote:
>
> > 'onecell' is malloced in clk_boston_setup(), but not be freed
>
>     Is not freed.

Thanks a lot, I will send a v2 patch.

>
> > before leaving from the error handling cases.
> >
> > Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
> [...]
>
> MBR, Sergei


---
Best wishes
Yi Wang

WARNING: multiple messages have this Message-ID (diff)
From: <wang.yi59@zte.com.cn>
To: sergei.shtylyov@cogentembedded.com
Cc: paul.burton@mips.com, mturquette@baylibre.com, sboyd@kernel.org,
	linux-mips@linux-mips.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn
Subject: Re: [PATCH] clk: boston: fix possible memory leak inclk_boston_setup()
Date: Mon, 29 Oct 2018 16:24:31 +0800 (CST)	[thread overview]
Message-ID: <201810291624314997508@zte.com.cn> (raw)
Message-ID: <20181029082431.PmeWZEgCqpa2Wpq_rOGUWmpaGhsKC6SOqRZ_AFusXBI@z> (raw)
In-Reply-To: <5484fe07-5909-dc67-5de6-72e878060a54@cogentembedded.com>


[-- Attachment #1.1: Type: text/plain, Size: 349 bytes --]

Hi Sergei,

> Hello!
>
> On 10/29/2018 11:04 AM, Yi Wang wrote:
>
> > 'onecell' is malloced in clk_boston_setup(), but not be freed
>
>     Is not freed.

Thanks a lot, I will send a v2 patch.

>
> > before leaving from the error handling cases.
> >
> > Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
> [...]
>
> MBR, Sergei


---
Best wishes
Yi Wang

  reply	other threads:[~2018-10-29  8:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-29  8:04 [PATCH] clk: boston: fix possible memory leak in clk_boston_setup() Yi Wang
2018-10-29  8:06 ` Sergei Shtylyov
2018-10-29  8:24   ` wang.yi59 [this message]
2018-10-29  8:24     ` [PATCH] clk: boston: fix possible memory leak inclk_boston_setup() wang.yi59

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201810291624314997508@zte.com.cn \
    --to=wang.yi59@zte.com.cn \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=mturquette@baylibre.com \
    --cc=paul.burton@mips.com \
    --cc=sboyd@kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=zhong.weidong@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox