Commit 96f88952 authored by James Zern's avatar James Zern

test/WebMVideoSource: fix WebMInputContext leak

lost in the shuffle of:
4fd63175 Remove duplicate code in test/webm_video_source.h

Change-Id: I89792fa17f03920616c55486bbdaf56c6461c9eb
parent 6962ea66
......@@ -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_;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment