ecere/gfx/3D/Object: Fixed leak of objects on Object::Merge()
authorJerome St-Louis <jerome@ecere.com>
Sun, 15 Mar 2015 21:43:13 +0000 (17:43 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 15 Oct 2015 00:19:34 +0000 (20:19 -0400)
ecere/src/gfx/3D/Object.ec

index b6b6b0b..df0228f 100644 (file)
@@ -1080,6 +1080,7 @@ public:
                nextChild = child.next;
                children.Remove(child);
                child.Free(displaySystem);
+               delete child;
             }
 
             mesh.ApplyTranslucency(this);