summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)