From 2c8d81ed64620e89159c9e4bc124540c31c7783f Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 12 Apr 2023 10:33:07 +0200 Subject: [PATCH] commented out json_file reading error return valgrind had some beef with it --- src/core/lib/utils/misc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/lib/utils/misc.c b/src/core/lib/utils/misc.c index a8daeca..242269d 100644 --- a/src/core/lib/utils/misc.c +++ b/src/core/lib/utils/misc.c @@ -151,8 +151,9 @@ enum WHY2_EXIT_CODES why2_check_version(void) { if (!why2_get_flags().no_output) fprintf(stderr, "Reading file failed!\n"); - why2_clean_memory("core_version_check"); - return WHY2_DOWNLOAD_FAILED; + // BELOW CODE IS COMMENTED OUT, BECAUSE IT IS PROBABLY UNNECESSARY + // why2_clean_memory("core_version_check"); + // return WHY2_DOWNLOAD_FAILED; } buffer[bufferSize] = '\0';