shithub: scc

Download patch

ref: 64d12d9252d124d68ac2455a83db8bbd20dfd914
parent: 7b77d09eb9716ebb472547635cf8b2dba0908103
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Apr 24 11:31:16 EDT 2014

Remove freesyms(NS_LABEL) in context

NS_LABEL symbols are already deleted in extdcl, so
it is a double free.

--- a/symbol.c
+++ b/symbol.c
@@ -57,8 +57,6 @@
 
 	freesyms(NS_IDEN);
 	freesyms(NS_TAG);
-	if (curctx == CTX_OUTER)
-		freesyms(NS_LABEL);
 }
 
 Symbol *