Changeset 985 for trunk/dll/misc.c
- Timestamp:
- Mar 1, 2008, 2:37:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/misc.c
r960 r985 40 40 xx Jan 08 JBS Ticket 150: fix/improve save and restore of dir cnr state at FM/2 close/reopen 41 41 21 Jan 08 GKY Stop reallocating NullStr by direct editing of empty subject and longname strings. 42 29 Feb 08 GKY Use xfree where appropriate 42 43 43 44 ***********************************************************************/ … … 225 226 } 226 227 } 227 free(s);228 xfree(s); 228 229 } 229 230 if (releaseme) … … 844 845 if (!PostMsg(hwnd, 845 846 UM_FIXEDITNAME, MPVOID, MPFROMP(filename))) 846 free(filename);847 xfree(filename); 847 848 } 848 849 if (stricmp(testname, pci->pszFileName)) { … … 852 853 if (!PostMsg(hwnd, 853 854 UM_FIXEDITNAME, MPVOID, MPFROMP(filename))) 854 free(filename);855 xfree(filename); 855 856 } 856 857 } … … 2012 2013 GetPString(IDS_SUBJ) : GetPString(IDS_NAME)); 2013 2014 WinSetWindowText(hwnd, s); 2014 free(s);2015 xfree(s); 2015 2016 } 2016 2017 } … … 2031 2032 !(flWindowAttr & CV_TEXT)) ? GetPString(IDS_MINI) : NullStr); 2032 2033 WinSetWindowText(hwnd, s); 2033 free(s);2034 xfree(s); 2034 2035 } 2035 2036 } … … 2051 2052 sprintf(s, "F:%s", GetPString(IDS_ALLTEXT)); 2052 2053 WinSetWindowText(hwnd, s); 2053 free(s);2054 xfree(s); 2054 2055 } 2055 2056 } … … 2196 2197 } 2197 2198 numswitches = y; 2198 free(pswb);2199 xfree(pswb); 2199 2200 DosPostEventSem(CompactSem); 2200 2201 }
Note:
See TracChangeset
for help on using the changeset viewer.