From 5bb2e72589ec9998354920687e26c53fc4c3ebbd Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Wed, 24 Oct 2012 16:06:16 +0000 Subject: Two small changes by Jonathan Neuschäfer: one that fixes a memory leak in an example, and one that removes an already completed TODO item. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@166582 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/sort/sort.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples') diff --git a/examples/sort/sort.c b/examples/sort/sort.c index 62e4124e..a72ccf1e 100644 --- a/examples/sort/sort.c +++ b/examples/sort/sort.c @@ -66,6 +66,9 @@ void test(int *array, unsigned nelem) { for (unsigned i = 0; i != nelem; ++i) assert(temp1[i] == temp2[i]); + + free(temp1); + free(temp2); } int main() { -- cgit 1.4.1