87573bee79
the struct resource for a malloc, it no longer needs it for the r_ elements of struct resource with this commit.