[Openal] OpenAL Soft 1.10 will be sooner than expected
Chris Robinson
chris.kcat at gmail.com
Sat Oct 31 13:26:58 PDT 2009
On Saturday 31 October 2009 12:35:59 pm Ludwig Nussel wrote:
> Ok, that assertion was wrong. The invalid free is caused by
> Alc.c: 660 free(device->szDeviceName);
> And then same thing again in pulse_close(). Since no other backend
> calls free itself on the device name that call should be removed
> from pulseaudio.c I guess.
Ah yeah, pulse_close shouldn't need to free the device string. It's harmless
for playback since it's set to NULL right after being freed, so subsequent
free attempts no-op (being that free(NULL) is valid). But
alcCaptureCloseDevice doesn't set it to NULL after freeing, which is before
the backend is closed which tries to free it again.
Thanks for catching that.
More information about the Openal
mailing list