From 98144bc9aebb80bf4131d17cc2292c82c89075df Mon Sep 17 00:00:00 2001 From: Mario Ohlberger <mario@dune-project.org> Date: Fri, 28 Oct 2005 08:44:30 +0000 Subject: [PATCH] memmory bug fixed [[Imported from SVN: r3325]] --- grid/albertagrid/albertaextra.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grid/albertagrid/albertaextra.hh b/grid/albertagrid/albertaextra.hh index 2dc2b10f3..18096cb21 100644 --- a/grid/albertagrid/albertaextra.hh +++ b/grid/albertagrid/albertaextra.hh @@ -244,6 +244,8 @@ inline void copyTraverseStack( TRAVERSE_STACK* stack, TRAVERSE_STACK* org ) } } + used = stack->stack_size; + stack->info_stack = 0; stack->info_stack = MEM_ALLOC(stack->stack_size, U_CHAR); stack->save_elinfo_stack = 0; -- GitLab