Don't leak memory in test_sharedbook to please asan.
authorThomas Daede <daede003@umn.edu>
Tue, 29 Jan 2019 01:39:24 +0000 (17:39 -0800)
committerThomas Daede <daede003@umn.edu>
Tue, 29 Jan 2019 01:39:24 +0000 (17:39 -0800)
lib/sharedbook.c

index 3e04b66..cecfcbc 100644 (file)
@@ -581,6 +581,7 @@ void run_test(static_codebook *b,float *comp){
       exit(1);
     }
   }
+  free(out);
 }
 
 int main(){