s3-talloc Change TALLOC_ARRAY() to talloc_array()
[nivanova/samba-autobuild/.git] / source3 / lib / dbwrap_file.c
index 69ad8e4b20c7c16031d7a3013c729e159d5c4a13..e195d6f6f3c0abf1469e9d9cf22752aa18affdd2 100644 (file)
@@ -168,7 +168,7 @@ static struct db_record *db_file_fetch_locked(struct db_context *db,
 
        if (statbuf.st_size != 0) {
                result->value.dsize = statbuf.st_size;
-               result->value.dptr = TALLOC_ARRAY(result, uint8,
+               result->value.dptr = talloc_array(result, uint8,
                                                  statbuf.st_size);
                if (result->value.dptr == NULL) {
                        DEBUG(1, ("talloc failed\n"));