summaryrefslogtreecommitdiff
path: root/fzytest.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-09-21 14:23:44 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-09-27 16:50:08 -0700
commitef663072f61e21c29a8885e6518d28fae6f9c91c (patch)
tree884078e10509059c80dee04e918d0130ae533fde /fzytest.c
parentcd1fb348588c12d44e13d3322373a44a9517598b (diff)
Allocate results array when search is run.
Diffstat (limited to 'fzytest.c')
-rw-r--r--fzytest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fzytest.c b/fzytest.c
index 7d719f1..8a15854 100644
--- a/fzytest.c
+++ b/fzytest.c
@@ -227,6 +227,7 @@ int test_choices_without_search(){
assert(choices.size == 1);
assert(choices_get(&choices, 0) == NULL);
+ choices_free(&choices);
return 0;
}