diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 11:47:10 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2006-10-02 11:47:10 +0000 |
commit | 419550990ca1cca039d7bf2ec0eb936bc07c3069 (patch) | |
tree | da23c2b9d2ae0e7391f2c5cd1868daa7e9b57323 /libavcodec/vorbis_enc.c | |
parent | 35af7a9b27c076aa4d6a1f681f402656838d9edc (diff) | |
download | ffmpeg-419550990ca1cca039d7bf2ec0eb936bc07c3069.tar.gz |
10l, wrong order in freeing
Originally committed as revision 6526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis_enc.c')
-rw-r--r-- | libavcodec/vorbis_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 3e5d83a170..d9b13384f6 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -1031,10 +1031,10 @@ static int vorbis_encode_close(AVCodecContext * avccontext) if (venc->floors) for (i = 0; i < venc->nfloors; i++) { int j; - av_freep(&venc->floors[i].classes); if (venc->floors[i].classes) for (j = 0; j < venc->floors[i].nclasses; j++) av_freep(&venc->floors[i].classes[j].books); + av_freep(&venc->floors[i].classes); av_freep(&venc->floors[i].partition_to_class); av_freep(&venc->floors[i].list); } |