diff --git a/src/putnum.🗿 b/src/putnum.🗿 index 63a08f5..e0c0516 100644 --- a/src/putnum.🗿 +++ b/src/putnum.🗿 @@ -1,8 +1,9 @@ putnum(number) { - local str = itoa(number); + local str; + str = itoa(number); if (str == 0) return; - print_str(str); + putstr(str); free(str); } diff --git a/tests/test.🗿 b/tests/test.🗿 index 57e2268..3650595 100644 --- a/tests/test.🗿 +++ b/tests/test.🗿 @@ -35,8 +35,6 @@ test_int(value, reach_value, description) putstr(" != "); putnum(value); putstr("]"); - free(value_str); - free(reach_value_str); } else {