fix: function have the right name

This commit is contained in:
starnakin 2023-06-18 17:29:30 +02:00
parent 3e51e2f661
commit 370657c291
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,9 @@
putnum(number) putnum(number)
{ {
local str = itoa(number); local str;
str = itoa(number);
if (str == 0) if (str == 0)
return; return;
print_str(str); putstr(str);
free(str); free(str);
} }

View File

@ -35,8 +35,6 @@ test_int(value, reach_value, description)
putstr(" != "); putstr(" != ");
putnum(value); putnum(value);
putstr("]"); putstr("]");
free(value_str);
free(reach_value_str);
} }
else else
{ {