History

lavfi/vf_blend_vulkan: fix leak on error

Marvin Scholz committed 3 years ago

Commit d8c7fea1 parent dae393f1 file · +2 −1Browse files

Unified · Split

libavfilter/vf_blend_vulkan.c+2−1
@@ -249,7 +249,8 @@ static int blend_frame(FFFrameSync *fs) · 248 unmodified lines
249249 if (top_fc->sw_format != bottom_fc->sw_format) {
250250 av_log(avctx, AV_LOG_ERROR,
251251 "Currently the sw format of the bottom video need to match the top!\n");
252− return AVERROR(EINVAL);
252+ err = AVERROR(EINVAL);
253+ goto fail;
253254 }
254255 RET(init_filter(avctx));
255256 }

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