changeset 5:7c489c73d62b

Clear commandline_files after processing it.
author David A. Holland
date Sun, 19 Dec 2010 17:53:49 -0500
parents ee9a66b87c70
children 0601b6e8e53d
files main.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Sun Dec 19 17:52:59 2010 -0500
+++ b/main.c	Sun Dec 19 17:53:49 2010 -0500
@@ -237,7 +237,9 @@
 		} else {
 			files_read(NULL, cf->name);
 		}
+		free(cf);
 	}
+	array_setsize(&commandline_files, 0);
 }
 
 ////////////////////////////////////////////////////////////