Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec
[jra/samba/.git] / lib / util / talloc_stack.c
index 2722fb96768636ccd64fac6e896d25c1c74c2422..2f3ea11377fb2ffb4c324d3e32e597bac4647f33 100644 (file)
@@ -69,7 +69,7 @@ static TALLOC_CTX *talloc_stackframe_internal(size_t poolsize)
        TALLOC_CTX **tmp, *top, *parent;
 
        if (talloc_stack_arraysize < talloc_stacksize + 1) {
-               tmp = TALLOC_REALLOC_ARRAY(NULL, talloc_stack, TALLOC_CTX *,
+               tmp = talloc_realloc(NULL, talloc_stack, TALLOC_CTX *,
                                           talloc_stacksize + 1);
                if (tmp == NULL) {
                        goto fail;