mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
talloc_stack: reset stackframe pointers to NULL
This makes it easier to debug the code in future. metze
This commit is contained in:
@ -103,8 +103,10 @@ static int talloc_pop(TALLOC_CTX *frame)
|
||||
break;
|
||||
}
|
||||
talloc_free(ts->talloc_stack[i]);
|
||||
ts->talloc_stack[i] = NULL;
|
||||
}
|
||||
|
||||
ts->talloc_stack[i] = NULL;
|
||||
ts->talloc_stacksize = i;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user