]> granicus.if.org Git - libvpx/commitdiff
test/WebMVideoSource: fix WebMInputContext leak
authorJames Zern <jzern@google.com>
Sat, 19 Apr 2014 16:29:26 +0000 (09:29 -0700)
committerJames Zern <jzern@google.com>
Sat, 19 Apr 2014 16:29:26 +0000 (09:29 -0700)
lost in the shuffle of:
4fd6317 Remove duplicate code in test/webm_video_source.h

Change-Id: I89792fa17f03920616c55486bbdaf56c6461c9eb

test/webm_video_source.h

index dc76bb0073bae16b356a51ed5a08eea65a655985..11d3d234d36cd74b435abc4bf9bab0427589b09c 100644 (file)
@@ -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_;
   }