PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ UF_destroy()

void UF_destroy ( UNIONFIND uf)

Definition at line 53 of file lwunionfind.c.

References UNIONFIND::cluster_sizes, UNIONFIND::clusters, and lwfree().

Referenced by cluster_intersecting(), cluster_within_distance(), do_dbscan_test(), ST_ClusterDBSCAN(), test_unionfind_collapse_cluster_ids(), test_unionfind_create(), test_unionfind_path_compression(), and test_unionfind_union().

54 {
55  lwfree(uf->clusters);
56  lwfree(uf->cluster_sizes);
57  lwfree(uf);
58 }
void lwfree(void *mem)
Definition: lwutil.c:242
uint32_t * clusters
Definition: lwunionfind.h:33
uint32_t * cluster_sizes
Definition: lwunionfind.h:34
Here is the call graph for this function:
Here is the caller graph for this function: