diff options
| -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 ec72a405a..161b4831e 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1999,6 +1999,7 @@ public:  		PLATFORM_ASSERT(!ptr);  	}  	void Allocate(size_t bytes) { +		assert(!hand);  		hand = ::GlobalAlloc(GMEM_MOVEABLE | GMEM_ZEROINIT, bytes);  		if (hand) {  			ptr = ::GlobalLock(hand); | 
