Changeset: 6ddc5e479bd9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6ddc5e479bd9
Modified Files:
sql/storage/bat/bat_logger.c
Branch: Mar2025
Log Message:
Fix double fclose()
as found by gcc -Werror=use-after-free
diffs (11 lines):
diff --git a/sql/storage/bat/bat_logger.c b/sql/storage/bat/bat_logger.c
--- a/sql/storage/bat/bat_logger.c
+++ b/sql/storage/bat/bat_logger.c
@@ -1322,7 +1322,6 @@ snapshot_bats(stream *plan, BAT *bats_to
break;
default:
/* error */
- fclose(fp);
ret = GDK_FAIL;
goto end;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]