From 35ad4511a0bd5f5f8318d7df4e38dea75a1d7534 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 7 Jan 2015 20:11:42 +1100 Subject: Avoid warning from cppcheck about leaking handle. --- win32/ScintillaWin.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 161b4831e..070ab0fb2 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1997,6 +1997,7 @@ public: } ~GlobalMemory() { PLATFORM_ASSERT(!ptr); + assert(!hand); } void Allocate(size_t bytes) { assert(!hand); -- cgit v1.2.3