1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

fixed memory leak in grab

This commit is contained in:
jojo61 2018-10-08 22:15:10 +02:00
parent f03dde19ed
commit 391ce04657

View File

@ -2383,6 +2383,7 @@ int get_RGB(CuvidDecoder *decoder) {
GlxCheck();
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glDeleteFramebuffers(1,&fb);
glDeleteTextures(1,&texture);
}