vcl: Free memory by appropriate dtor

Change-Id: I863251d742374d0a60820d41fec9d467c9ff4bd4
Reviewed-on: https://gerrit.libreoffice.org/19446
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Takeshi Abe
2015-10-19 18:26:19 +09:00
committed by Caolán McNamara
parent d34e464e41
commit 4898efa1b7

View File

@@ -1256,7 +1256,7 @@ bool WinSalGraphicsImpl::setClipRegion( const vcl::Region& i_rClip )
}
if ( mrParent.mpClipRgnData != mrParent.mpStdClipRgnData )
delete [] mrParent.mpClipRgnData;
delete [] (BYTE*)mrParent.mpClipRgnData;
}
}