s3-talloc Change TALLOC_P() to talloc()
[nivanova/samba-autobuild/.git] / source3 / lib / bitmap.c
index bd56b4aad1a5807cef6ee21be1e59646b7212e29..0acfcd8813a55e36201cef11122f697d08a58920 100644 (file)
@@ -29,7 +29,7 @@ struct bitmap *bitmap_talloc(TALLOC_CTX *mem_ctx, int n)
 {
        struct bitmap *bm;
 
-       bm = TALLOC_P(mem_ctx, struct bitmap);
+       bm = talloc(mem_ctx, struct bitmap);
 
        if (!bm) return NULL;