mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Use TALLOC_FREE in talloc_pop()
This commit is contained in:
parent
0f3040a61f
commit
d097d9fb09
@ -100,8 +100,7 @@ static int talloc_pop(TALLOC_CTX *frame)
|
||||
if (frame == ts->talloc_stack[i]) {
|
||||
break;
|
||||
}
|
||||
talloc_free(ts->talloc_stack[i]);
|
||||
ts->talloc_stack[i] = NULL;
|
||||
TALLOC_FREE(ts->talloc_stack[i]);
|
||||
}
|
||||
|
||||
ts->talloc_stack[i] = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user