summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Greenan <kmg@box.com>2014-08-26 13:52:55 -0700
committerKevin Greenan <kmg@box.com>2014-08-26 13:52:55 -0700
commitca930607a12655cf215270f7246b1a65357f6e0f (patch)
tree4f5c7a7ba97f89e3d39375221fb9f14f06e30aad /test
parentd251a22138d734b72740c932934431b9b6f30711 (diff)
downloadliberasurecode-ca930607a12655cf215270f7246b1a65357f6e0f.tar.gz
Freeing the memory allocated by the fragments_needed tests.
Diffstat (limited to 'test')
-rw-r--r--test/liberasurecode_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/liberasurecode_test.c b/test/liberasurecode_test.c
index a7d222b..04fdd85 100644
--- a/test/liberasurecode_test.c
+++ b/test/liberasurecode_test.c
@@ -386,6 +386,11 @@ static void test_fragments_needed_impl(const char *backend,
assert(is_valid_fragment == 1);
i++;
}
+
+ free(fragments_to_reconstruct);
+ free(fragments_to_exclude);
+ free(fragments_needed);
+ free(new_fragments_needed);
}
static void test_decode_with_missing_data(const char *backend,