- Timestamp:
- Jan 28, 2000, 12:46:57 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/misc/new.cpp
r1678 r2540 1 /* $Id: new.cpp,v 1. 3 1999-11-10 01:45:37 bird Exp $1 /* $Id: new.cpp,v 1.4 2000-01-27 23:46:57 bird Exp $ 2 2 * 3 3 * new - new and delete operators. … … 22 22 23 23 #include "new.h" 24 #include " malloc.h"24 #include "rmalloc.h" 25 25 #include "log.h" 26 26 … … 34 34 void *operator new(size_t size) 35 35 { 36 return malloc(size);36 return rmalloc(size); 37 37 } 38 38 … … 74 74 void operator delete(void *location) 75 75 { 76 free(location);76 rfree(location); 77 77 } 78 78 … … 98 98 void *operator new(size_t size, const char *filename, size_t lineno) 99 99 { 100 return malloc(size);100 return rmalloc(size); 101 101 } 102 102 … … 138 138 void operator delete(void *location, const char *filename, size_t lineno) 139 139 { 140 free(location);140 rfree(location); 141 141 } 142 142
Note:
See TracChangeset
for help on using the changeset viewer.