Ticket #986 (new defect)

Opened 2 years ago

Texture is leaking memory

Reported by: ArcRiley Owned by:
Priority: Medium Milestone: beta4
Component: soy.textures Version: Trunk
Keywords: Cc:

Description

There's a memory leak when a Texture object is destroyed. Solving it isn't as simple as you'd think because a texture has to be deleted from GL in the rendering thread.

Since textures are not commonly created/destroyed in repetition I'm marking this for after the current release cycle.

free(self.texels)
glDeleteTextures(1, {self._textureID})
Note: See TracTickets for help on using tickets.