fixed memory leaks and almost all undefined behaviour

This commit is contained in:
Alex Murkoff
2024-04-13 02:24:14 +07:00
parent 592de19843
commit 1d5e9705db
10 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ static BMK_runOutcome_t BMK_runOutcome_error(size_t errorResult)
static BMK_runOutcome_t BMK_setValid_runTime(BMK_runTime_t runTime)
{
BMK_runOutcome_t outcome;
BMK_runOutcome_t outcome = {};
outcome.error_tag_never_ever_use_directly = 0;
outcome.internal_never_ever_use_directly = runTime;
return outcome;