removed freeing of the ptr
This commit is contained in:
@@ -50,7 +50,6 @@ static buffer_s read_file(const char *path)
|
||||
|
||||
fclose(f);
|
||||
buffer_s const b = { ptr, size };
|
||||
free(ptr);
|
||||
return b;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user