1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix small memory leak cleaning up video calls

This commit is contained in:
tux3 2015-05-09 22:56:15 +02:00
parent 072264eb2c
commit 1f926b3e6c
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -52,6 +52,9 @@ VideoSurface::~VideoSurface()
if (textureId != 0) if (textureId != 0)
glDeleteTextures(1, &textureId); glDeleteTextures(1, &textureId);
delete bgrProgramm;
delete yuvProgramm;
unsubscribe(); unsubscribe();
} }