removed freeing of the ptr

This commit is contained in:
Alex Murkoff committed 2024-04-14 20:44:12 +07:00
1 parent 0b24fc0a11
commit 849b2ad907
1 file changed
-1
-1
View File
@@ -50,7 +50,6 @@ static buffer_s read_file(const char *path)
fclose(f);
buffer_s const b = { ptr, size };
free(ptr);
return b;
}