summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 01:53:23 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 01:53:23 -0400
commitb199f1dee4bcbd154022402ba1a4983e5c979347 (patch)
tree40a9884087f0816f23bd28d03a3b417a5033f015
parentdcc1a503c4bf07d88ad852434d05c2972c7c3349 (diff)
More windows/newcontrol.c migration.
-rw-r--r--new/windows/newcontrol.c1
1 files changed, 0 insertions, 1 deletions
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)