-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
https://github.com/NeilJed/VTFLib/blob/main/VTFLib/VTFFile.cpp#L661-L677
The memory leak in question is the generation of new data for the resizing of the image data, but instead of getting rid of the old data, it sets a new memory address without clearing the old one first. This is also UB as the image data is not VTFLib's to mutate, it should be copied and disposed of at the end.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels