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

Michael Smith msmith at xiph.org
Sat Mar 30 06:01:28 PST 2002



msmith      02/03/30 06:01:27

  Modified:    oggenc   audio.c
  Log:
  Fix a small memory leak (valgrind is a cool tool)

Revision  Changes    Path
1.24      +2 -0      vorbis-tools/oggenc/audio.c

Index: audio.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/audio.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- audio.c	2002/03/21 07:37:21	1.23
+++ audio.c	2002/03/30 14:01:27	1.24
@@ -78,6 +78,8 @@
                 j++;
         }
 
+    free(buf);
+
         return NULL;
 }
 

<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