fix #define
svn-id: r7806
This commit is contained in:
parent
3736794737
commit
d61ee38b23
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ void operator delete(void *ptr) {
|
||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef free(x)
|
#undef free
|
||||||
void free_check(void *ptr) {
|
void free_check(void *ptr) {
|
||||||
if ((uint)ptr == 0xE7E7E7E7UL) {
|
if ((uint)ptr == 0xE7E7E7E7UL) {
|
||||||
printf("ERROR: freeing 0xE7E7E7E7\n");
|
printf("ERROR: freeing 0xE7E7E7E7\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue