Changeset 1147 for trunk/src


Ignore:
Timestamp:
Oct 6, 1999, 9:55:45 AM (26 years ago)
Author:
sandervl
Message:

MEmory leak in SetWindowText fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r1133 r1147  
    1 /* $Id: win32wbase.cpp,v 1.23 1999-10-04 20:53:45 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.24 1999-10-06 07:55:45 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    23202320        return FALSE;
    23212321
     2322    if(windowNameA)     free(windowNameA);
     2323    if(windowNameW)     free(windowNameW);
     2324
    23222325    windowNameA = (LPSTR)_smalloc(strlen(lpsz)+1);
    23232326    strcpy(windowNameA, lpsz);
Note: See TracChangeset for help on using the changeset viewer.