fixed memory leaks and almost all undefined behaviour

This commit is contained in:
Alex Murkoff committed 2024-04-13 02:24:14 +07:00
1 parent 592de19843
commit 1d5e9705db
10 files changed
+19 -10

No files matched your search

+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;