Changeset 6612


Ignore:
Timestamp:
Aug 31, 2001, 9:46:45 PM (24 years ago)
Author:
phaller
Message:

fix UnregisterClass

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r6610 r6612  
    1 /* $Id: changelog,v 1.1666 2001-08-31 00:20:04 phaller Exp $ */
     1/* $Id: changelog,v 1.1667 2001-08-31 19:46:45 phaller Exp $ */
     2
     3 2001-08-31: Patrick Haller <patrick.haller@innotek.de>
     4    - KERNEL32: o Fix in MoveFileExW, MoveFileExA prevents stack corruption
     5                  in MS ACMSETUP
     6    - USER32:   o Fix in UnregisterClass for never reaching the destructor
     7                  of Win32class. ACMSETUP now working.
    28
    39 2001-08-30: Patrick Haller <patrick.haller@innotek.de>
  • trunk/src/user32/win32class.cpp

    r6483 r6612  
    1 /* $Id: win32class.cpp,v 1.26 2001-08-07 21:35:36 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.27 2001-08-31 19:45:50 phaller Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    572572            return FALSE;
    573573        }
     574   
     575        // 2001-08-31 PH
     576        // Note: RELEASE_CLASSOBJ sets the pointer to NULL,
     577        // and as delete verifies the object pointer to unequal NULL,
     578        // the destrutor is NEVER called, the class atom is NEVER released.
     579        wndclass->markDeleted();
    574580        RELEASE_CLASSOBJ(wndclass);
    575         delete wndclass;
     581   
    576582        SetLastError(ERROR_SUCCESS);
    577583        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.