mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
fixed memory leaks and almost all undefined behaviour
This commit is contained in:
@ -24,5 +24,7 @@ char const* result_get_error_string(result_t result) {
|
||||
return "decompression error";
|
||||
case result_error_round_trip_error:
|
||||
return "round trip error";
|
||||
default:
|
||||
return "unknown error - " + result_get_error(result);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user