PostGIS  2.2.7dev-r@@SVN_REVISION@@
void UF_destroy ( UNIONFIND uf)

Definition at line 40 of file lwunionfind.c.

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

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

41 {
42  lwfree(uf->clusters);
43  lwfree(uf->cluster_sizes);
44  lwfree(uf);
45 }
void lwfree(void *mem)
Definition: lwutil.c:214
uint32_t * clusters
Definition: lwunionfind.h:20
uint32_t * cluster_sizes
Definition: lwunionfind.h:21

Here is the call graph for this function:

Here is the caller graph for this function: