fix: memory leaks and memory access errors

This commit is contained in:
rmntgx
2025-05-20 19:42:24 +05:00
parent 620d861d8c
commit ee6565d5b4
3 changed files with 39 additions and 21 deletions

View File

@@ -72,7 +72,7 @@ static int selret_magic() {
// Vector shii
struct Vector vec_new() {
struct Vector vec;
vec_clear(&vec);
vec_reset(&vec);
return vec;
}