Fix for ASAN Issue TDAF-710: alloc-dealloc mismatch