changeset 137:773af52f9811

Fixed a bug in the stack (how did that not ever break?!)
author Jonathan Pevarnek <pevarnj@gmail.com>
date Thu, 22 Sep 2011 12:59:05 -0400
parents efe361763f81
children ea2136c52c35
files src/prog/stack.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/prog/stack.c	Thu Sep 15 09:04:56 2011 -0400
+++ b/src/prog/stack.c	Thu Sep 22 12:59:05 2011 -0400
@@ -28,6 +28,7 @@
 {
 	Stack *new = malloc(sizeof(Stack));
 	new->top = NULL;
+	new->size = 0;
 	return new;
 }