File gtkpbbuttons-0.6.10.diff of Package gtkpbbuttons

--- src/audio.c
+++ src/audio.c
@@ -143,6 +143,9 @@
 			 * the reset routine of the alsa sounddrivers. There
 			 * is no problem wirh the kernel OSS sounddriver.
 			 */
+		} else if (fd != -1) {
+			close (fd);
+			fd = -1;
 		}
 	}
 	pthread_exit(NULL);
openSUSE Build Service is sponsored by