aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-24 15:08:53 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-24 15:08:53 +0000
commit668338c573720b8eafda1191a940625cc76fc586 (patch)
tree60e6b10978a0d8c310f71897a6d896ddeb1d08fd /libavformat
parentbb07ab7cf22e7bf0717264f9e7b15dfb6d67e391 (diff)
downloadffmpeg-668338c573720b8eafda1191a940625cc76fc586.tar.gz
avformat: free decryption key in av_close_input_stream()
Originally committed as revision 24899 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 117179715c..e5de17713b 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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);
}