avformat: free decryption key in av_close_input_stream()

Originally committed as revision 24899 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-08-24 15:08:53 +00:00
parent bb07ab7cf2
commit 668338c573

View File

@ -2487,6 +2487,7 @@ void av_close_input_stream(AVFormatContext *s)
}
av_freep(&s->chapters);
av_metadata_free(&s->metadata);
av_freep(&s->key);
av_free(s);
}