You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/alsamixergui/files/segfault-on-exit.patch

12 lines
325 B

--- a/src/alsamixer.cxx
+++ b/src/alsamixer.cxx
@@ -1869,7 +1869,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 */