shithub: scc

Download patch

ref: efa37e2c01e594c39354441fb4621ec8242ba7b6
parent: d2c30b9ebacee9c0ea90050133641e8800727e4d
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Sep 21 08:44:17 EDT 2017

[as] Don't deallocate what is not allocated

--- a/as/symbol.c
+++ b/as/symbol.c
@@ -221,6 +221,8 @@
 void
 killtmp(void)
 {
+	if (!tmpalloc)
+		return;
 	dealloc(tmpalloc);
 	tmpalloc = NULL;
 }