diff --git a/src/widget/videosurface.cpp b/src/widget/videosurface.cpp index 379b11afd..7d6ccf949 100644 --- a/src/widget/videosurface.cpp +++ b/src/widget/videosurface.cpp @@ -52,6 +52,9 @@ VideoSurface::~VideoSurface() if (textureId != 0) glDeleteTextures(1, &textureId); + delete bgrProgramm; + delete yuvProgramm; + unsubscribe(); }