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

MEmory leak in SetWindowText fixed

File:
1 edited

Legend:

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

    r1147 r1148  
    1 /* $Id: win32wbase.cpp,v 1.24 1999-10-06 07:55:45 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.25 1999-10-06 07:56:37 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    23412341        return FALSE;
    23422342
     2343    if(windowNameA)     free(windowNameA);
     2344    if(windowNameW)     free(windowNameW);
     2345
    23432346    windowNameW = (LPWSTR)_smalloc((lstrlenW((LPWSTR)lpsz)+1)*sizeof(WCHAR));
    23442347    lstrcpyW(windowNameW, (LPWSTR)lpsz);
Note: See TracChangeset for help on using the changeset viewer.