diff options
Diffstat (limited to 'src/erasurecode.c')
-rw-r--r-- | src/erasurecode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/erasurecode.c b/src/erasurecode.c index 8272f3e..22aa2e8 100644 --- a/src/erasurecode.c +++ b/src/erasurecode.c @@ -341,7 +341,7 @@ int liberasurecode_encode_cleanup(int desc, if (encoded_data) { for (i = 0; i < k; i++) { - free_fragment_buffer(encoded_data[i]); + free(encoded_data[i]); } free(encoded_data); @@ -349,7 +349,7 @@ int liberasurecode_encode_cleanup(int desc, if (encoded_parity) { for (i = 0; i < m; i++) { - free_fragment_buffer(encoded_parity[i]); + free(encoded_parity[i]); } free(encoded_parity); |