Function ndpi_free

Function Documentation

void ndpi_free(void *ptr)

Free memory allocated by nDPI’s memory allocator. This function can be customized via ndpi_set_free() to use a custom deallocator.

Parameters:

ptr – Pointer to memory to free (NULL is safe to pass)