mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
avcodec/ffv1: use av_freep()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fb6dd77000
commit
a3963cc8ec
@ -148,8 +148,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_freep(&f->slice_context[j]->sample_buffer);
|
||||
av_freep(&f->slice_context[j]);
|
||||
}
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user