alsa-tools small handle leak
Hi.
WHile reading hdspmixer sources, I found a potential handler leak:
Index: hdspmixer/src/HDSPMixerWindow.cxx
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/hdspmixer/src/HDSPMixerWindow.cxx,v retrieving revision 1.5
src/HDSPMixerWindow.cxx +1 -0
@@ -935,6 +935,7 @@ snd_ctl_elem_value_set_integer(ctl, 2, value); if ((err = snd_ctl_elem_write(handle, ctl)) < 0) { fprintf(stderr, "Alsa error: %s\n", snd_strerror(err)); + snd_ctl_close(handle); return; }
Signature · 6 lines
CYa, Mario | Debian Developer <URL:http://debian.org/> .''`. | Get my public key via finger [email protected] : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44 `. `' `-
At Thu, 09 Jun 2005 14:21:01 +0200,
Quoted 5 lines · Mario Lang
Hi.
WHile reading hdspmixer sources, I found a potential handler leak:
Thanks. Applied to CVS.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20