Skip to content

Commit 70c3a26

Browse files
Update possible memory leak warning
Co-authored-by: Rob Loach <[email protected]>
1 parent 87b0cd2 commit 70c3a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/Material.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Material : public ::Material {
4242
*/
4343
static std::vector<Material> Load(const std::string& fileName) {
4444
int count = 0;
45-
// this function possibly leaks the materials array
45+
// TODO: Material::Load() possibly leaks the materials array.
4646
::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
4747
return std::vector<Material>(materials, materials + count);
4848
}

0 commit comments

Comments
 (0)