From: James Zern Date: Sat, 19 Apr 2014 16:29:26 +0000 (-0700) Subject: test/WebMVideoSource: fix WebMInputContext leak X-Git-Tag: v1.4.0~1762 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96f8895266e186f062e5837d0cb8275f5d6a775b;p=libvpx test/WebMVideoSource: fix WebMInputContext leak lost in the shuffle of: 4fd6317 Remove duplicate code in test/webm_video_source.h Change-Id: I89792fa17f03920616c55486bbdaf56c6461c9eb --- 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_; }