ref: 74505489b732095d8c84844de7141c548f40b0ad
parent: 08101d44e9bbe55186d76aa2087c9267fc2c4fb3
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Apr 14 21:06:08 EDT 2016
[cc2] Clean arena pointer after freeing memory This mistake generated an invalid access in the second function
--- a/cc2/node.c
+++ b/cc2/node.c
@@ -70,6 +70,7 @@
free(ap->mem);
free(ap);
}
+ arena = NULL;
}
void