Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1377499
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | David Gibson <david@gibson.dropbear.id.au> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2 2/2] scripts: dtc: fix memory leak after realloc |
| Date | Wed, 13 Apr 2016 06:20:01 +0200 |
| Message-ID | <rnkrv-3gi-1@gated-at.bofh.it> (permalink) |
| References | <rndzH-5be-9@gated-at.bofh.it> <rndzI-5be-23@gated-at.bofh.it> <rndT5-5HZ-7@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1460520971; bh=MhM2U6LyP4B46aOqJIc4rUHD+zn1JVIEK8CjF5zI5Bg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iAeeYRG8t8yxlmzZE0BYeQIJgkcXUIMbYWOYr6hjbI9f6L9X8JuS81c5rrR9YU5mV x/RUj8LomUb9JT8AkcFn6lJFiEN7Jh2S3MgAClt02UzKpeZwdtWkDgKRdfebkdRo5b Lk5e2EkwbfO+4PXYAfN4Gvg7/Xn/WP/Qxy9TsKws= |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IrhDeMKUP4DT/M7F" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.24 (2015-08-30) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 51 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Maxim Zhukov <mussitantesmortem@gmail.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Michal Marek <mmarek@suse.com>, Frank Rowand <frowand.list@gmail.com>, Grant Likely <grant.likely@linaro.org>, devicetree-compiler@vger.kernel.org |
| X-Original-Date | Wed, 13 Apr 2016 14:17:26 +1000 |
| X-Original-Message-ID | <20160413041726.GB18218@voom.redhat.com> |
| X-Original-References | <1460494500-26922-1-git-send-email-mussitantesmortem@gmail.com> <1460494500-26922-3-git-send-email-mussitantesmortem@gmail.com> <CAL_JsqKqbj+FmD2SwSsmdBW6SPoJzsP5an1o_XZAozo86ssPCg@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1377499 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tue, Apr 12, 2016 at 04:11:17PM -0500, Rob Herring wrote: > On Tue, Apr 12, 2016 at 3:55 PM, Maxim Zhukov > <mussitantesmortem@gmail.com> wrote: > > This commit fixed memory leak after errors realloc. > > > > Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com> > > --- > > scripts/dtc/fdtput.c | 10 +++++++--- > > Again, your patch is against the kernel copy of dtc. It needs to be > against upstream dtc and then I can update the kernel copy once this > lands. Right. TBH, I'm not particularly concerned about the leak anyway. The memory will be freed when fdtput exits moments later, so it's really not a big deal. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V2 0/2] scripts: small fixes Maxim Zhukov <mussitantesmortem@gmail.com> - 2016-04-12 23:00 +0200
[PATCH V2 2/2] scripts: dtc: fix memory leak after realloc Maxim Zhukov <mussitantesmortem@gmail.com> - 2016-04-12 23:00 +0200
Re: [PATCH V2 2/2] scripts: dtc: fix memory leak after realloc Rob Herring <robh+dt@kernel.org> - 2016-04-12 23:20 +0200
Re: [PATCH V2 2/2] scripts: dtc: fix memory leak after realloc David Gibson <david@gibson.dropbear.id.au> - 2016-04-13 06:20 +0200
[PATCH V2 1/2] scripts: genksyms: fix resource leak Maxim Zhukov <mussitantesmortem@gmail.com> - 2016-04-12 23:00 +0200
csiph-web