baum

diff baum.c @ 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 88a51653db83
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