Changeset 21916 for trunk/tools/common/kFileInterfaces.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/tools/common/kFileInterfaces.cpp
r8003 r21916 19 19 * Header Files * 20 20 *******************************************************************************/ 21 #include <malloc.h> 22 21 23 #include "kTypes.h" 22 24 #include "kError.h" … … 63 65 * Save the target we are searching for references to. 64 66 */ 65 PXREFSTATE pState = new XREFSTATE;67 PXREFSTATE pState = (PXREFSTATE)malloc(sizeof(XREFSTATE)); 66 68 pState->ulSegment = ulSegment; 67 69 pState->offSegment = offSegment; … … 131 133 kASSERT(preloc != NULL); 132 134 relocFindClose(preloc); 133 delete preloc->pv2;135 free(preloc->pv2); 134 136 preloc->pv2 = NULL; 135 137 }
Note:
See TracChangeset
for help on using the changeset viewer.