summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bytecode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 93d76914..076319f4 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2012 Adrian Thurston <thurston@complang.org>
+ * Copyright 2006-2016 Adrian Thurston <thurston@complang.org>
*/
/* This file is part of Colm.
@@ -3679,6 +3679,8 @@ again:
int res = system( cmd0 );
+ free( cmd0 );
+
if ( WIFSIGNALED( res ) )
raise( WTERMSIG( res ) );
res = WEXITSTATUS( res );