Skip to content

Commit

Permalink
OpenGLVideo: Fix a double free in AddFilter() when OptimiseFilters() …
Browse files Browse the repository at this point in the history
…fails

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


Expand Down

0 comments on commit 5769dca

Please sign in to comment.