Menu

#718 dynamically linked library not closed

development
open
library (35)
5
2006-04-19
2006-04-19
No

in src/timer/timer.c the function snd_timer_open_conf
returns directly the symbol previously loaded from
config string.

what i did is:
err = err >= 0 ? open_func(timer, name, timer_root,
timer_conf, mode) : err;
if(h)
snd_dlclose(h);
return err;

sorry if the format's not good for this mail, it's my
first time.

Cheers,
Ben

Discussion


Log in to post a comment.