mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix
This commit is contained in:
parent
8efd0c8026
commit
6fa12d02dd
@ -297,7 +297,7 @@ int copy_decompressor(const char *self, int output_fd)
|
||||
return 1;
|
||||
}
|
||||
|
||||
char * buf = new char[1ul<<19];
|
||||
char * buf = (char *)malloc(1ul<<19);
|
||||
ssize_t n = 0;
|
||||
do
|
||||
{
|
||||
@ -327,7 +327,7 @@ int copy_decompressor(const char *self, int output_fd)
|
||||
} while (true);
|
||||
|
||||
close(input_fd);
|
||||
delete []buf;
|
||||
free(buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user