commit 4eb2de95c2a7a33104a8cf1f6f4c9cf996c8b06a parent 259e6cc22d86e6d2e77fee73ccc8fdacde8cfd9a Author: Christophe Coustet <christophe.coustet@meso-star.com> Date: Fri, 5 May 2017 15:48:23 +0200 Fix a typo leading to a memleak. Diffstat:
| M | src/parser/solparser.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/parser/solparser.c b/src/parser/solparser.c @@ -1142,7 +1142,7 @@ const struct solparser_atmosphere* solparser_get_atmosphere(const struct solparser* parser) { ASSERT(parser); - if(parser->sun_key) return &parser->atmosphere; + if(parser->atmosphere_key) return &parser->atmosphere; else return NULL; }