summaryrefslogtreecommitdiff
path: root/extra/ogle/gcc34alsafix.patch
blob: 76de3462d4fd9fc47e789cc46c09d363b3cb7aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ogle-0.9.2/libogleao/alsa_audio.c	2003-10-18 17:38:30.000000000 -0700
+++ ogle-0.9.2-patch/libogleao/alsa_audio.c	2005-04-22 18:21:23.000000000 -0700
@@ -248,10 +248,9 @@
       //Shouldn't ctl_handle be closed here?
     }
     
-    snd_ctl_close(ctl_handle);
-  
-  __diga_end:
+    snd_ctl_close(ctl_handle);  
   }
+  __diga_end:
   
   return 0;
 }