Changeset 959 for trunk/dll/datamin.c


Ignore:
Timestamp:
Feb 18, 2008, 1:47:31 AM (18 years ago)
Author:
Gregg Young
Message:

Use xfree where appropriate. Check that buffer exists following all xmallocs. Stopped at eas.c with xfree checking. One remaining xmalloc without test in dirsize.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/datamin.c

    r907 r959  
    6666    {
    6767      PVOID pv = xmalloc(sizeof(tDataMin), pszSrcFile, __LINE__);
    68 
    69       WinSetWindowPtr(hwnd, QWL_DATAMIN_PTR, pv);
     68      if (pv)
     69        WinSetWindowPtr(hwnd, QWL_DATAMIN_PTR, pv);
    7070    }
    7171    break;
Note: See TracChangeset for help on using the changeset viewer.