Permalink
Browse files

OpenGLVideo: Fix a double free in AddFilter() when OptimiseFilters() …

…fails

Fixes #11430
  • Loading branch information...
natanojl committed Mar 19, 2013
1 parent b2a8b1e commit 5769dca4c4ed442b62741e9abeeb2e3490d9b909
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythtv/openglvideo.cpp
@@ -484,6 +484,7 @@ bool OpenGLVideo::AddFilter(OpenGLFilterType filter)
temp->frameBuffers.clear();
temp->frameBufferTextures.clear();
filters[filter] = temp;
temp = NULL;
success &= OptimiseFilters();
}

0 comments on commit 5769dca

Please sign in to comment.