[alsa-devel] BUG: double free of PCM structure upon module removal
Robert Jarzmik
robert.jarzmik at free.fr
Wed May 24 09:58:47 CEST 2017
Takashi Iwai <tiwai at suse.de> writes:
> On Wed, 24 May 2017 08:31:39 +0200,
> I see, so my patch should cure such a case.
Indeed.
>> > In anyway the calls there look in a wrong order. Basically we should
>> > start with snd_card_free() to sync with the whole operation finishes,
>> > then release everything. Below is an untested patch to do that.
>> With you patch, the bug is gone in my first 3 tries.
>
> I think the patch below is simpler and has the same effect.
> If this works for you, I'll submit the proper patch.
Yep, I just tested it.
Feel free to add my :
Tested-by: Robert Jarzmik <robert.jarzmik at free.fr>
Thanks.
--
Robert
More information about the Alsa-devel
mailing list