[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190927153304.GS32742@smile.fi.intel.com>
Date: Fri, 27 Sep 2019 18:33:04 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Cezary Rojewski <cezary.rojewski@...el.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Navid Emamdoost <navid.emamdoost@...il.com>, emamd001@....edu,
smccaman@....edu, kjlu@....edu,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Jie Yang <yang.jie@...ux.intel.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Enrico Weigelt <info@...ux.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ASoC: Intel: Skylake: prevent memory leak in
snd_skl_parse_uuids
On Fri, Sep 27, 2019 at 05:10:18PM +0200, Cezary Rojewski wrote:
> I'm fine with solution #1 as I guess asking to wait for refactor is not an
> option. Code deployment is delayed due to range of administrative decisions,
> some of which should be uncovered on alsa-devel soon enough.
The problem with solution #1 is freeing orphaned pointer. It will work,
but it's simple is not okay from object life time prospective.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists