diff options
author | Kevin Greenan <kmgreen2@gmail.com> | 2015-02-07 14:39:21 -0800 |
---|---|---|
committer | Kevin Greenan <kmgreen2@gmail.com> | 2015-02-07 14:39:21 -0800 |
commit | cf490de5e0ab016895a25bff3a1ea6e015163501 (patch) | |
tree | 0f08d1c17e60b1af4f434ce0fa067a8c9cc23f36 /src/erasurecode.c | |
parent | 6d9c09faeb995a4e6c9dfe88ba14d1f944f164a4 (diff) | |
download | liberasurecode-cf490de5e0ab016895a25bff3a1ea6e015163501.tar.gz |
Revert "Merged fix-cleanup into master"
This reverts commit dc4e6f07ce586327cbb19c1f6c31f2b3edc33def, reversing
changes made to 92c39d590c63fd1dced7b3934962f47428c3c03d.
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); |