From 1f926b3e6ceb2298edb2a6cc2de2dfcf3dc81cd2 Mon Sep 17 00:00:00 2001 From: tux3 Date: Sat, 9 May 2015 22:56:15 +0200 Subject: [PATCH] Fix small memory leak cleaning up video calls --- src/widget/videosurface.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); }