[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1283366976.3081.248.camel@odin>
Date: Wed, 01 Sep 2010 19:49:36 +0100
From: Liam Girdwood <lrg@...mlogic.co.uk>
To: Timur Tabi <timur@...escale.com>
Cc: Julia Lawall <julia@...u.dk>, alsa-devel@...a-project.org,
Takashi Iwai <tiwai@...e.de>,
devicetree-discuss@...ts.ozlabs.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
Grant Likely <grant.likely@...retlab.ca>
Subject: Re: [alsa-devel] [PATCH 2/4] sound/soc/fsl/p1022_ds.c: Add
of_node_put to avoid memory leak
On Wed, 2010-09-01 at 13:39 -0500, Timur Tabi wrote:
> On Tue, Aug 31, 2010 at 10:48 AM, Julia Lawall <julia@...u.dk> wrote:
> > Add a call to of_node_put in the error handling code following a call to
> > of_parse_phandle.
> >
> > This patch also moves the existing call to of_node_put tothe end of the
> > error handling code, to make it possible to jump to of_node_put without
> > doing the other cleanup operations. These appear to be disjoint
> > operations, so the ordering doesn't matter.
>
> Acked-by: Timur Tabi <timur@...escale.com>
Acked-by: Liam Girdwood <lrg@...mlogic.uo.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists