Verified Commit fd5a950a authored by James Almer's avatar James Almer
Browse files

lib: explicity free the metadata buffers in dav1d_close()

They were meant to be freed by the call to dav1d_flush() at the beginning,
but before the previous commit that wasn't the case when decoding with one
frame thread.
This ensures they are explicity freed here and not depend on other functions
behaving correctly.
parent c2e0490c
Pipeline #4648 passed with stages
in 8 minutes and 43 seconds
......@@ -535,6 +535,9 @@ static void close_internal(Dav1dContext **const c_out, int flush) {
Markdown is supported
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