Changeset 21760 for branches/gcc-kmk/tools/common/kFileInterfaces.cpp
- Timestamp:
- Oct 29, 2011, 4:43:41 PM (14 years ago)
- File:
-
- 1 edited
-
branches/gcc-kmk/tools/common/kFileInterfaces.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/tools/common/kFileInterfaces.cpp
r8003 r21760 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.
