bug in salsa async handler + patch
Hi,
I couldn't find where or how to submit patches for salsa, so here goes. This patch resolves random program crashes when using libsalsa with an async handler: snd_async_del_handler does not correctly maintain its list of async handlers. This patch is for salsa-lib-0.0.21, the latest stable version.
change src/async.c, line 118async_list = h;
to src/async.c, line 118async_list = h->next;
Maarten
At Fri, 17 Apr 2009 20:30:45 +0100,
Quoted 9 lines · maarten van es
Hi,
I couldn't find where or how to submit patches for salsa, so here goes. This patch resolves random program crashes when using libsalsa with an async handler:
snd_async_del_handlerdoes not correctly maintain its list of async handlers. This patch is for salsa-lib-0.0.21, the latest stable version.
Quoted 5 lines
change
src/async.c, line 118async_list= h;to
src/async.c, line 118async_list=h->next;
Thanks, fixed and released as version 0.0.22 now.
Takashi