I traced it back and found where it was being allocated. That segment of code
where it was allocated did no point it to NULL in case it didnt need to be
allocated. Long story short it was trying to free a pointer that had
"something" but its location was unknown so not even a precheck like
if( MyPtr != NULL){
MemPtrFree(MyPtr);
MyPtr =NULL;
}
Worked because it had something inside that was not an actual NULL.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/