From 09c0958aeb5c355b75d2cedf67e15ebb5098e980 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 19 Jun 2013 16:40:53 +0000 Subject: two memory leaks git-svn-id: http://svn.miranda-ng.org/main/trunk@5044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/subclass.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mir_core/subclass.cpp') diff --git a/src/mir_core/subclass.cpp b/src/mir_core/subclass.cpp index 4bf17e5de2..fe63f715eb 100644 --- a/src/mir_core/subclass.cpp +++ b/src/mir_core/subclass.cpp @@ -33,6 +33,11 @@ struct MSubclassData static LIST arSubclass(10, LIST::FTSortFunc(HandleKeySortT)); +void UninitSubclassing() +{ + arSubclass.destroy(); +} + ///////////////////////////////////////////////////////////////////////////////////////// static LRESULT CALLBACK MSubclassWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) -- cgit v1.2.3