From 86546338ea57a157b7c324f3de1291d01902edab Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sun, 18 Apr 2010 17:11:45 +0000 Subject: [PATCH] GSdx: Fix a memory leak with the blend interlace modes. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2870 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/GSdx/GSDevice.cpp b/plugins/GSdx/GSDevice.cpp index 9456dba45b..b662a472a7 100644 --- a/plugins/GSdx/GSDevice.cpp +++ b/plugins/GSdx/GSDevice.cpp @@ -248,6 +248,7 @@ void GSDevice::Interlace(const GSVector2i& ds, int field, int mode, float yoffse if(!m_blend || !(m_blend->GetSize() == ds)) { + delete m_blend; m_blend = CreateRenderTarget(ds.x, ds.y, false); }