solstice

Compute collected power and efficiencies of a solar plant
git clone git://git.meso-star.com/solstice.git
Log | Files | Refs | README | LICENSE

commit 1cca96d9346b7b3c15924a80eab8bbffcdebcda9
parent ecb7aa7356cacc2644264aaa22ed12934c413599
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  5 Jan 2017 16:06:00 +0100

Fix a memory leak in the setup of the entity tree

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

diff --git a/src/solstice_entity.c b/src/solstice_entity.c @@ -240,6 +240,7 @@ setup_entity(struct solstice* solstice, const struct solparser_entity* entity) res = score_node_add_child(atchmnt_node, child_root); if(res != RES_OK) goto error; + score_node_ref_put(child_root); child_root = NULL; }