mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +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:
parent
10ed809a1a
commit
d23581b4d7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user