Skip to content

Update ImageAsset.cpp#1683

Merged
Azaezel merged 1 commit intoTorqueGameEngines:developmentfrom
marauder2k9-torque:Plugging-Leaks
Mar 7, 2026
Merged

Update ImageAsset.cpp#1683
Azaezel merged 1 commit intoTorqueGameEngines:developmentfrom
marauder2k9-torque:Plugging-Leaks

Conversation

@marauder2k7
Copy link
Contributor

the opened ddsfs file for pulling metadata was leaking. The FileStream function close does not delete the pointer to the original file only FileObject does this. It might be worthwhile instead to switch to using fileObject anywhere we use a filestream that way we can be at least somewhat safe in using the object and once it goes out of scope the raw pointer will be freed

the opened ddsfs file for pulling metadata was leaking. The FileStream function close does not delete the pointer to the original file only FileObject does this. It might be worthwhile instead to switch to using fileObject anywhere we use a filestream that way we can be at least somewhat safe in using the object and once it goes out of scope the raw pointer will be freed
@Azaezel Azaezel merged commit ec45af5 into TorqueGameEngines:development Mar 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants