File alsamixergui-memleak-fix.diff of Package alsamixergui
--- src/alsamixer.cxx
+++ src/alsamixer.cxx
@@ -1817,6 +1817,7 @@
old_view = mixer_view;
#else
+ free(fds);
{
snd_mixer_handle_events(mixer_handle);
gui_update_all();
@@ -1869,7 +1870,7 @@
if (procWindow) delete procWindow;
if (mainWindow) delete mainWindow;
mainWindow = 0; procWindow = 0; helpWindow = 0;
- return 0;
+ mixer_abort (ERR_NONE, "", 0);
#endif /* #ifdef ALSAMIXER_GUI */
break;
case 13: /* Return */