From b199f1dee4bcbd154022402ba1a4983e5c979347 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Apr 2015 01:53:23 -0400 Subject: [PATCH] More windows/newcontrol.c migration. --- new/windows/newcontrol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/new/windows/newcontrol.c b/new/windows/newcontrol.c index 46502ce..565ec05 100644 --- a/new/windows/newcontrol.c +++ b/new/windows/newcontrol.c @@ -163,7 +163,6 @@ static LRESULT CALLBACK singleSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, case WM_DESTROY: (*(s->onWM_DESTROY))(c); uiFree(s); - uiFree(c); break; case WM_NCDESTROY: if ((*fv_RemoveWindowSubclass)(hwnd, singleSubclassProc, uIdSubclass) == FALSE)