# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1038662143 0 # Node ID b2211123274ee019f0ffd3cd6df8b7d5e3e15bc6 # Parent 627e531ca53036da62f4848dbe3bf96749001be5 Fixed a minor handl leak when destroying conboboxes... the listbox part would not get destroyed. diff -r 627e531ca530 -r b2211123274e os2/dw.c --- a/os2/dw.c Wed Nov 27 16:54:08 2002 +0000 +++ b/os2/dw.c Sat Nov 30 13:15:43 2002 +0000 @@ -234,6 +234,11 @@ if(ptr) { + WindowData *wd = (WindowData *)ptr; + + if(wd->oldproc) + WinSubclassWindow(handle, wd->oldproc); + dw_window_set_data(handle, NULL, NULL); WinSetWindowPtr(handle, QWP_USER, 0); free(ptr);