bafipawi/SS14 — Issue #4: Player class creates a memory leak every frame
Author: sensae
Created: 2012-03-07 01:11:55+00:00
State: open
Labels: bug

Offending line: https://github.com/bafipawi/SS14/blob/master/src/player.cpp#L33

The player class calls getTexture every frame, causing a file socket and VRAM copy every time the sprite is drawn. Every subsequent frame, the entire texture leaks, leaking on average 5 MB per second.