memory leak while gaming