void FDKafree_L (void *ptr) { void *addr; addr = *(((void**)ptr)-1); /* Get pointer to malloc'ed memory. */ FDKfree_L(addr); /* Free malloc'ed memory area. */ }
void fdkFreeMatrix1D(void *p) { if (p != NULL) { FDKfree_L(p); } }