History

lavc/vaapi_encode: Fix leak in error case

Fixes CID 1442564.

Mark Thompson committed 7 years ago

Commit 177a90b1 parent 53929821 file · +1 −0Browse files

Showing the changes to libavcodec/vaapi_encode.c (1 of 1 file). Show all

Unified · Split

libavcodec/vaapi_encode.c+1−0
@@ -1101,6 +1101,7 @@ int ff_vaapi_encode_send_frame(AVCodecContext *avctx, const AVFrame *frame) · 1100 unmodified lines
1101 return 0;1101 return 0;
1102 1102
1103fail:1103fail:
1104 vaapi_encode_free(avctx, pic);
1104 return err;1105 return err;
1105}1106}
1106 1107

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