PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ quantile_llist_destroy()

int quantile_llist_destroy ( struct quantile_llist **  list,
uint32_t  list_count 
)

Definition at line 878 of file rt_statistics.c.

878 {
879 struct quantile_llist_element *element = NULL;
880 uint32_t i;
881
882 if (NULL == *list) return 0;
883
884 for (i = 0; i < list_count; i++) {
885 element = (*list)[i].head;
886 while (NULL != element->next) {
887 quantile_llist_delete(element->next);
888 }
889 quantile_llist_delete(element);
890
891 rtdealloc((*list)[i].index);
892 }
893
894 rtdealloc(*list);
895 return 1;
896}
void rtdealloc(void *mem)
Definition rt_context.c:206
static int quantile_llist_delete(struct quantile_llist_element *element)
struct quantile_llist_element * next
Definition librtcore.h:2604

References quantile_llist_element::next, quantile_llist_delete(), and rtdealloc().

Referenced by test_band_stats().

Here is the call graph for this function:
Here is the caller graph for this function: