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:
parent
072264eb2c
commit
1f926b3e6c
|
@ -52,6 +52,9 @@ VideoSurface::~VideoSurface()
|
|||
if (textureId != 0)
|
||||
glDeleteTextures(1, &textureId);
|
||||
|
||||
delete bgrProgramm;
|
||||
delete yuvProgramm;
|
||||
|
||||
unsubscribe();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user