htsky

Load and structure a vertically stratified atmosphere
git clone git://git.meso-star.fr/htsky.git
Log | Files | Refs | README | LICENSE

commit 4414a2e94e877fdea866de6f6dd87c1b4d513106
parent 0c1aa0ef04589e77e72a51ca463c36f83ade1ec6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 20 Nov 2020 10:31:26 +0100

Release the logger on htsky deletion

Diffstat:
Msrc/htsky.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/htsky.c b/src/htsky.c @@ -493,6 +493,7 @@ release_sky(ref_T* ref) if(sky->htgop) HTGOP(ref_put(sky->htgop)); if(sky->htmie) HTMIE(ref_put(sky->htmie)); if(sky->bands) MEM_RM(sky->allocator, sky->bands); + if(sky->logger == &sky->logger__) logger_release(&sky->logger__); darray_split_release(&sky->svx2htcp_z); str_release(&sky->name); ASSERT(MEM_ALLOCATED_SIZE(&sky->svx_allocator) == 0);