[alsa-devel] [PATCH v2] ASoC: Intel: Skylake: prevent memory leak in snd_skl_parse_uuids
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Fri Sep 27 17:33:04 CEST 2019
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
More information about the Alsa-devel
mailing list