Commit 00d1f4d5 authored by Janne Grunau's avatar Janne Grunau
Browse files

cdf: fix memleak in dav1d_cdf_thread_unref

Observed with
clusterfuzz-testcase-minimized-dav1d_fuzzer_mt-5700224002031616. Credits
to oss-fuzz.
parent 0f7a97ba
Pipeline #3450 passed with stages
in 4 minutes and 55 seconds
......@@ -4200,9 +4200,9 @@ void dav1d_cdf_thread_ref(CdfThreadContext *const dst,
void dav1d_cdf_thread_unref(CdfThreadContext *const cdf) {
memset(cdf, 0, sizeof(*cdf));
if (cdf->ref)
memset(cdf, 0, sizeof(*cdf));
void dav1d_cdf_thread_wait(CdfThreadContext *const cdf) {
Supports Markdown
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