1
0
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:
Volker Lendecke 2010-03-21 15:55:04 +01:00
parent 0f3040a61f
commit d097d9fb09

View File

@ -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;