History

avfilter/vf_colorcorrect: fix memory leaks

Paul B Mahol committed 2 years ago

Commit 5f87a681 parent f1f97331 file · +2 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_colorcorrect.c+2−0
@@ -497,6 +497,8 @@ static av_cold void uninit(AVFilterContext *ctx) · 496 unmodified lines
497497 ColorCorrectContext *s = ctx->priv;
498498
499499 av_freep(&s->analyzeret);
500+ av_freep(&s->uhistogram);
501+ av_freep(&s->vhistogram);
500502 }
501503
502504 static const AVFilterPad colorcorrect_inputs[] = {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t