From 9eadeccdc4247127d91ac70555074239f5ce3529 Mon Sep 17 00:00:00 2001 From: Thomas Daede Date: Mon, 28 Jan 2019 17:39:24 -0800 Subject: [PATCH] Don't leak memory in test_sharedbook to please asan. --- lib/sharedbook.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sharedbook.c b/lib/sharedbook.c index 3e04b66..cecfcbc 100644 --- a/lib/sharedbook.c +++ b/lib/sharedbook.c @@ -581,6 +581,7 @@ void run_test(static_codebook *b,float *comp){ exit(1); } } + free(out); } int main(){ -- 2.7.4