the context is supposed to be freed in the generic code in utils.c
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Jan 2007 12:47:46 +0000 (12:47 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 21 Jan 2007 12:47:46 +0000 (12:47 +0000)
Originally committed as revision 7604 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/aiff.c

index 10eb1d1..813c762 100644 (file)
@@ -166,7 +166,6 @@ static int aiff_write_header(AVFormatContext *s)
 
     /* First verify if format is ok */
     if (!enc->codec_tag) {
-        av_free(aiff);
         return -1;
     }