QDPQCDOCAllocator::free(void *mem) {  MapT::iterator iter = the_alignment_map.find((unsigned char*)mem); if( iter != the_alignment_map.end() ) {  unsigned char *aligned = iter->first;   the_alignment_map.erase(iter);   qfree(aligned); } else { QDPIO::cerr << "Pointer not found in map" << endl; QDP_abort(1); }
free(void *mem) { qfree(mem);
  QDPQCDOCAllocator::free(void *mem)  {    // Look up the original aligned pointer in the memory.    MapT::iterator iter = the_alignment_map.find((unsigned char*)mem);    if( iter != the_alignment_map.end() ) {      // Find the original aligned pointer      unsigned char *aligned = iter->first;      // Remove its entry from the map      the_alignment_map.erase(iter);      // Delete the actual aligned pointer      qfree(aligned);    }    else {      QDPIO::cerr << "Pointer not found in map" << endl;      QDP_abort(1);    }  }