Messages in this thread | | | Subject | Re: [alsa-devel] [PATCH v2] ASoC: Intel: Skylake: prevent memory leak in snd_skl_parse_uuids | From | Pierre-Louis Bossart <> | Date | Fri, 27 Sep 2019 11:37:24 -0500 |
| |
> The problem with solution #1 is freeing orphaned pointer. It will work, > but it's simple is not okay from object life time prospective.
?? I don't get your point at all Andy. Two allocations happens in a loop and if the second fails, you free the first and then jump to free everything allocated in the previous iterations. what am I missing?
| |