[xiph-cvs] cvs commit: ao/src audio_out.c

Stan Seibert volsung at xiph.org
Mon Jul 23 16:13:29 PDT 2001



volsung     01/07/23 16:13:29

  Modified:    src      Tag: volsung_20010721 audio_out.c
  Log:
  Forgot to zero an element of a struct.  Fixes segfault some users were
  experiencing during ao_shutdown().

Revision  Changes    Path
No                   revision

No                   revision

1.15.2.2  +1 -0      ao/src/audio_out.c

Index: audio_out.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/audio_out.c,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -u -r1.15.2.1 -r1.15.2.2
--- audio_out.c	2001/07/22 03:35:48	1.15.2.1
+++ audio_out.c	2001/07/23 23:13:29	1.15.2.2
@@ -204,6 +204,7 @@
                                 break;
 
                         driver->next->functions = static_drivers[i];
+			driver->next->handle = NULL;
                         driver->next->next = NULL;
                         
                         driver = driver->next;

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list