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
11011101 return 0;
11021102
11031103 fail:
1104+ vaapi_encode_free(avctx, pic);
11041105 return err;
11051106 }
11061107

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