0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

delete unneeded code MINOR

This commit is contained in:
Mathias Stearn 2010-02-12 13:07:17 -05:00
parent 10287f9e03
commit d87a129357

View File

@ -34,16 +34,4 @@ namespace mongo {
#define malloc mongo::ourmalloc
#define realloc mongo::ourrealloc
#if defined(_WIN32)
inline void our_debug_free(void *p) {
#if 0
// this is not safe if you malloc < 4 bytes so we don't use anymore
unsigned *u = (unsigned *) p;
u[0] = 0xEEEEEEEE;
#endif
free(p);
}
#define free our_debug_free
#endif
} // namespace mongo