[xiph-cvs] cvs commit: vorbis-tools/oggenc audio.c

Michael Smith msmith at xiph.org
Sat Mar 30 06:04:12 PST 2002



msmith      02/03/30 06:04:12

  Modified:    oggenc   audio.c
  Log:
  I am stupid. Missed one place in previous fix.

Revision  Changes    Path
1.25      +3 -1      vorbis-tools/oggenc/audio.c

Index: audio.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/audio.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- audio.c	2002/03/30 14:01:27	1.24
+++ audio.c	2002/03/30 14:04:11	1.25
@@ -72,8 +72,10 @@
                 if(formats[j].id_func(buf, size))
                 {
                         /* ok, we now have something that can handle the file */
-			if(formats[j].open_func(in, opt, buf, size))
+			if(formats[j].open_func(in, opt, buf, size)) {
+                free(buf);
                                 return &formats[j];
+            }
                 }
                 j++;
         }

<p><p><p>--- >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