Commit 338ed3ed authored by Diego Biurrun's avatar Diego Biurrun Committed by Vittorio Giovara

ffv1: Pass correct pointers to av_free()

Bug-Id: CID 1295124
parent 3b1e35d4
......@@ -226,8 +226,8 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)
memfail:
for (j = 0; j < i; j++) {
av_free(&f->slice_context[j]->sample_buffer);
av_free(&f->slice_context[j]);
av_free(f->slice_context[j]->sample_buffer);
av_free(f->slice_context[j]);
}
return AVERROR(ENOMEM);
}
......
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