r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[nivanova/samba-autobuild/.git] / source4 / ntvfs / common / brlock.c
index 7b351f77b0c8ac7bbbe8edc5e34c6aaef7605efa..f51e3d0694a026878e773d8bdc085299d0759263 100644 (file)
@@ -78,7 +78,7 @@ struct brl_context *brl_init(TALLOC_CTX *mem_ctx, servid_t server, uint16_t tid,
        char *path;
        struct brl_context *brl;
 
-       brl = talloc_p(mem_ctx, struct brl_context);
+       brl = talloc(mem_ctx, struct brl_context);
        if (brl == NULL) {
                return NULL;
        }