diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-10-19 18:26:19 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-22 15:58:46 +0000 |
commit | 4898efa1b7e6b4624a19cdb69b9bf70ac7c39e16 (patch) | |
tree | b315c6cfa5b015734b6f7dcf2da993e813267545 | |
parent | d34e464e41e89721934a2a5b1db97af241bb48c3 (diff) |
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>
-rw-r--r-- | vcl/win/source/gdi/gdiimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx index 07d8f4e2d41f..408639c119dc 100644 --- a/vcl/win/source/gdi/gdiimpl.cxx +++ b/vcl/win/source/gdi/gdiimpl.cxx @@ -1256,7 +1256,7 @@ bool WinSalGraphicsImpl::setClipRegion( const vcl::Region& i_rClip ) } if ( mrParent.mpClipRgnData != mrParent.mpStdClipRgnData ) - delete [] mrParent.mpClipRgnData; + delete [] (BYTE*)mrParent.mpClipRgnData; } } |