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

Michael Smith msmith at xiph.org
Wed Mar 19 01:26:21 PST 2003



msmith      03/03/19 04:26:21

  Modified:    oggdec   oggdec.c
  Log:
  Fix tiny memory leak.

Revision  Changes    Path
1.15      +3 -0      vorbis-tools/oggdec/oggdec.c

Index: oggdec.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggdec/oggdec.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- oggdec.c	3 Aug 2002 09:08:50 -0000	1.14
+++ oggdec.c	19 Mar 2003 09:26:21 -0000	1.15
@@ -337,6 +337,9 @@
             return 1;
     }
 
+    if(outfilename)
+        free(outfilename);
+
     return 0;
 }
     

<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