summaryrefslogtreecommitdiff
path: root/test/webm_video_source.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-04-19 09:29:26 -0700
committerJames Zern <jzern@google.com>2014-04-19 09:29:26 -0700
commit96f8895266e186f062e5837d0cb8275f5d6a775b (patch)
treec5dcb649d28e3c026cfa5639fa9f887836b9c090 /test/webm_video_source.h
parent6962ea665dc968ce32dd1c03b6c162a35cf43c73 (diff)
downloadlibvpx-96f8895266e186f062e5837d0cb8275f5d6a775b.tar
libvpx-96f8895266e186f062e5837d0cb8275f5d6a775b.tar.gz
libvpx-96f8895266e186f062e5837d0cb8275f5d6a775b.tar.bz2
libvpx-96f8895266e186f062e5837d0cb8275f5d6a775b.zip
test/WebMVideoSource: fix WebMInputContext leak
lost in the shuffle of: 4fd6317 Remove duplicate code in test/webm_video_source.h Change-Id: I89792fa17f03920616c55486bbdaf56c6461c9eb
Diffstat (limited to 'test/webm_video_source.h')
-rw-r--r--test/webm_video_source.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/webm_video_source.h b/test/webm_video_source.h
index dc76bb007..11d3d234d 100644
--- a/test/webm_video_source.h
+++ b/test/webm_video_source.h
@@ -37,6 +37,7 @@ class WebMVideoSource : public CompressedVideoSource {
virtual ~WebMVideoSource() {
if (vpx_ctx_->file != NULL)
fclose(vpx_ctx_->file);
+ webm_free(webm_ctx_);
delete vpx_ctx_;
delete webm_ctx_;
}