mld-core/mld-core.cpp
bool mld_deregister_alloc(void *ptr)
{
  bool success = true;
  if (!pAllocMgr->deregister_alloc(ptr))
  {
    // The ptr was not in the allocation table
    void *backtrace;
    unsigned short frames;
    unsigned long hash;
    captureStackBackTrace(2, &backtrace, frames, &hash);
    pAllocMgr->dumpStackTrace(&backtrace, frames);
    success = false;
  }
  return success;
}
/**
 * Remove allocation data from the HeapAllocationManager.
 * @ptr Memory pointer
 * @return True if the memory was deallocated
 */
Remove allocation data from the HeapAllocationManager.
@ptr Memory pointer
@return True if the memory was deallocated
Remove allocation data from the HeapAllocationManager . @ptr Memory pointer @return True if the memory was deallocated
bool mld_deregister_alloc(void *ptr)
{
  bool success = true;
  if (!pAllocMgr->deregister_alloc(ptr))
  {
    void *backtrace;
    unsigned short frames;
    unsigned long hash;
    captureStackBackTrace(2, &backtrace, frames, &hash);
    pAllocMgr->dumpStackTrace(&backtrace, frames);
    success = false;
  }
  return success;
}
bool mld_deregister_alloc ( void * ptr ) { bool success = true ; if ( ! pAllocMgr -> deregister_alloc ( ptr ) ) { void * backtrace ; unsigned short frames ; unsigned long hash ; captureStackBackTrace ( 2 , & backtrace , frames , & hash ) ; pAllocMgr -> dumpStackTrace ( & backtrace , frames ) ; success = false ; } return success ; }
Remove allocation data from the HeapAllocationManager.
Remove allocation data from the HeapAllocationManager .
// The ptr was not in the allocation table
