MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / Free

Method Free

examples/ThirdPartyLibs/tinyxml2/tinyxml2.h:456–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454 }
455
456 virtual void Free(void* mem)
457 {
458 if (!mem)
459 {
460 return;
461 }
462 --_currentAllocs;
463 Item* item = static_cast<Item*>(mem);
464#ifdef TINYXML2_DEBUG
465 memset(item, 0xfe, sizeof(*item));
466#endif
467 item->next = _root;
468 _root = item;
469 }
470 void Trace(const char* name)
471 {
472 printf("Mempool %s watermark=%d [%dk] current=%d size=%d nAlloc=%d blocks=%d\n",

Callers 2

DeleteNodeMethod · 0.45
DeleteAttributeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected