Method

NumCosmoMathMemoryPoolfree

Declaration [src]

void
ncm_memory_pool_free (
  NcmMemoryPool* mp,
  gboolean free_slices
)

Description [src]

This function free the memory pool and also the slices if free_slices == TRUE and the pool was built with a free function.

Parameters

free_slices

Type: gboolean

If true and the pool was built with a free function, free the slices.