mirror of
https://github.com/facebook/zstd.git
synced 2025-10-07 00:12:40 -04:00
removed freeing of the ptr
This commit is contained in:
parent
0b24fc0a11
commit
849b2ad907
@ -50,7 +50,6 @@ static buffer_s read_file(const char *path)
|
|||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
buffer_s const b = { ptr, size };
|
buffer_s const b = { ptr, size };
|
||||||
free(ptr);
|
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user