shithub: libvpx

Download patch

ref: 96f8895266e186f062e5837d0cb8275f5d6a775b
parent: 6962ea665dc968ce32dd1c03b6c162a35cf43c73
author: James Zern <jzern@google.com>
date: Sat Apr 19 05:29:26 EDT 2014

test/WebMVideoSource: fix WebMInputContext leak

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

Change-Id: I89792fa17f03920616c55486bbdaf56c6461c9eb

--- a/test/webm_video_source.h
+++ b/test/webm_video_source.h
@@ -37,6 +37,7 @@
   virtual ~WebMVideoSource() {
     if (vpx_ctx_->file != NULL)
       fclose(vpx_ctx_->file);
+    webm_free(webm_ctx_);
     delete vpx_ctx_;
     delete webm_ctx_;
   }
--