# HG changeset patch
# User meillo@marmaro.de
# Date 1203584976 -3600
# Node ID 1c3dd1e88bdfbe3c73869b2339514aa137afe786
# Parent  f0856c177403e99ae313af440a640997e059b278
empty stack at the end (thanks valgrind to show me this)

diff -r f0856c177403 -r 1c3dd1e88bdf baum.c
--- a/baum.c	Tue Feb 19 22:23:37 2008 +0100
+++ b/baum.c	Thu Feb 21 10:09:36 2008 +0100
@@ -211,6 +211,11 @@
 
 	}
 
+	/* empty stack */
+	while (stack != NULL) {
+		pull();
+	}
+
 	fclose(file);
 }