summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/sky_sphere.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/sky_sphere.c b/libdimension/sky_sphere.c
index 2223b10..9e5b9a9 100644
--- a/libdimension/sky_sphere.c
+++ b/libdimension/sky_sphere.c
@@ -41,6 +41,7 @@ dmnsn_delete_sky_sphere(dmnsn_sky_sphere *sky_sphere)
DMNSN_ARRAY_FOREACH (dmnsn_pigment **, pigment, sky_sphere->pigments) {
dmnsn_delete_pigment(*pigment);
}
+ dmnsn_delete_array(sky_sphere->pigments);
dmnsn_free(sky_sphere);
}
}