test: fix some memory leaks

This commit is contained in:
2025-11-03 21:29:59 +00:00
parent bd2fe50ec9
commit 5c6030488b
2 changed files with 4 additions and 0 deletions

View File

@@ -19,5 +19,8 @@ int main(int argc, const char **argv)
b_stream_read_all_bytes_s(b_stdin, dest, buf, &nr_read);
printf("done. read %zu bytes total.\n", nr_read);
b_path_unref(path);
b_file_unref(dest);
return 0;
}