]> granicus.if.org Git - libvpx/commitdiff
Fix a memleak in CLPF.
authorSteinar Midtskogen <stemidts@cisco.com>
Fri, 9 Sep 2016 15:36:22 +0000 (17:36 +0200)
committerYaowu Xu <yaowu@google.com>
Mon, 10 Oct 2016 18:26:52 +0000 (11:26 -0700)
The memleak appeared in eb5794da1659f87597291d84c2fbdfd89280065d.

Change-Id: Ifdd6d64aafa0d0ce4dfaf1844f594d5f843bf2e0

av1/common/clpf.c

index 1ca60e056d3164cd109547ca5791c335fb865c54..f4dfa1fa398e43e2fd42045550614bbc15637c19 100644 (file)
@@ -168,6 +168,7 @@ int av1_clpf_frame(const YV12_BUFFER_CONFIG *orig_dst,
 
     aom_free(cache);
     aom_free(cache_ptr);
+    aom_free(cache_dst);
   }
 
   return block_index;