baum

changeset 27:1c3dd1e88bdf

empty stack at the end (thanks valgrind to show me this)
author meillo@marmaro.de
date Thu, 21 Feb 2008 10:09:36 +0100
parents f0856c177403
children ed3eb4b497e5
files baum.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/baum.c	Tue Feb 19 22:23:37 2008 +0100
     1.2 +++ b/baum.c	Thu Feb 21 10:09:36 2008 +0100
     1.3 @@ -211,6 +211,11 @@
     1.4  
     1.5  	}
     1.6  
     1.7 +	/* empty stack */
     1.8 +	while (stack != NULL) {
     1.9 +		pull();
    1.10 +	}
    1.11 +
    1.12  	fclose(file);
    1.13  }
    1.14