stardis-green

Post-processing of green functions
git clone git://git.meso-star.fr/stardis-green.git
Log | Files | Refs | README | LICENSE

commit 14221c7826ea3e28d865f82ff713184cb5644f99
parent 7f76e14a7966f3f56fcd422788041ea3cbe0efb3
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Wed,  7 Jul 2021 10:04:38 +0200

BugFix: double fclose

Diffstat:
Msrc/green-main.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/green-main.c b/src/green-main.c @@ -90,7 +90,7 @@ main } else { res_T tmp_res; tmp_res = read_green_function(&green, stream); - fclose(stream); + fclose(stream); stream = NULL; if(tmp_res == RES_MEM_ERR) { logger_print(&logger, LOG_ERROR, "Could not allocate memory.\n"); res = tmp_res; @@ -172,4 +172,4 @@ exit: error: err = EXIT_FAILURE; goto exit; -} -\ No newline at end of file +}