Changeset 985 for trunk/dll/seeall.c
- Timestamp:
- Mar 1, 2008, 2:37:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/seeall.c
r961 r985 34 34 30 Dec 07 GKY Use TestFDates for comparing by date 35 35 15 Feb 08 GKY Prevent trap on scan of drive containing files that exceed maxpath 36 29 Feb 08 GKY Use xfree where appropriate 37 29 Feb 08 GKY Refactor global command line variables to notebook.h 36 38 37 39 ***********************************************************************/ … … 54 56 #include "errutil.h" // Dos_Error... 55 57 #include "strutil.h" // GetPString 58 #include "notebook.h" // targetdirectory 56 59 #include "fm3dll.h" 57 60 … … 1300 1303 if (ad->afhead && ad->afheadcnt) { 1301 1304 for (x = 0; x < ad->afheadcnt; x++) { 1302 if (ad->afhead[x].fullname) 1303 free(ad->afhead[x].fullname); 1304 } 1305 free(ad->afhead); 1305 xfree(ad->afhead[x].fullname); 1306 } 1307 xfree(ad->afhead); 1306 1308 ad->afhead = NULL; 1307 if (ad->afindex) 1308 free(ad->afindex); 1309 xfree(ad->afindex); 1309 1310 ad->afindex = NULL; 1310 1311 } … … 1860 1861 pAD->ullSelectedBytes -= pAD->afhead[y].cbFile; 1861 1862 } 1862 free(pAD->afhead[y].fullname);1863 xfree(pAD->afhead[y].fullname); 1863 1864 } 1864 1865 memmove(&(pAD->afhead[x]), &(pAD->afhead[y]), … … 1919 1920 pffbArray = xmalloc(ulBufBytes, pszSrcFile, __LINE__); 1920 1921 if (!pffbArray) { 1921 free(filename);1922 xfree(filename); 1922 1923 return; 1923 1924 } … … 1957 1958 // Complain if pathnames exceeds max 1958 1959 DosFindClose(hdir); 1959 free(pffbArray);1960 free(filename);1960 xfree(pffbArray); 1961 xfree(filename); 1961 1962 if (!fDone) { 1962 1963 fDone = TRUE; … … 2025 2026 } 2026 2027 2027 free(pffbArray);2028 free(filename);2028 xfree(pffbArray); 2029 xfree(filename); 2029 2030 } 2030 2031 … … 4266 4267 } 4267 4268 FreeAllFilesList(hwnd); 4268 free(pAD);4269 xfree(pAD); 4269 4270 } 4270 4271 break; … … 4323 4324 #pragma alloc_text(SEEALL,InitWindow,PaintLine,SeeAllWndProc) 4324 4325 #pragma alloc_text(SEEALL,UpdateList,CollectList,ReSort,Mark) 4325 #pragma alloc_text(SEEALL,BuildAList,RemoveDeleted,SeeFrameWndProc,FilterList )4326 #pragma alloc_text(SEEALL,BuildAList,RemoveDeleted,SeeFrameWndProc,FilterList,FilterAll) 4326 4327 #pragma alloc_text(SEEALL2,SeeObjWndProc,MakeSeeObjWinThread,FindDupesThread,DupeDlgProc) 4327 4328 #pragma alloc_text(SEEALL3,FreeAllFilesList,DoADir,FindAllThread,AFDrvsWndProc)
Note:
See TracChangeset
for help on using the changeset viewer.