diff options
| author | nyamatongwe <unknown> | 2011-08-07 21:55:07 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-08-07 21:55:07 +1000 |
| commit | b120dee8b3f38d061f605091388369f7c36df431 (patch) | |
| tree | 59a5cacc54b2612b45523274cb0dd3f26fabd65f | |
| parent | 04bbe265db17b079603a35fdb8afdfcac6a35ff9 (diff) | |
| download | scintilla-mirror-b120dee8b3f38d061f605091388369f7c36df431.tar.gz | |
Ensure deallocation.
| -rw-r--r-- | win32/ScintillaWin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index f49b2bace..28a630246 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -2770,6 +2770,7 @@ sptr_t PASCAL ScintillaWin::CTWndProc( pCTRenderTarget->EndDraw(); surfaceWindow->Release(); delete surfaceWindow; + pCTRenderTarget->Release(); } ::EndPaint(hWnd, &ps); return 0; |
