ConnectedTexturesMod

ConnectedTexturesMod

110M Downloads

IResource Leak in ModelLoaderCTM and resource util

ichttt opened this issue ยท 0 comments

commented

Hi there,
you are currently leaking resources here:

IResource resource = manager.getResource(absolute);

and here:

ret = getResource(res).getMetadata(IMetadataSectionCTM.SECTION_NAME);

You should close this resource in a finally block. These leaks can be observed by forcing debug to be enabled for minecraft loggers using the log4j xml