Page MenuHomeWildfire Games
Paste P175

CTextRenderer::Render() possible leak
ActivePublic

Authored by elexis on Mon, Sep 9, 8:07 PM.
==362884== 272 bytes in 1 blocks are possibly lost in loss record 2,542 of 2,942
==362884== at 0x483877F: malloc (vg_replace_malloc.c:299)
==362884== by 0x2615D51F: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x25E04602: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x25EAEDCF: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x25EABDC5: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x25DFFF6A: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x25E9C7A2: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x25E9CAB8: ??? (in /usr/lib/dri/r600_dri.so)
==362884== by 0x4E4A51: CTextRenderer::Render() (TextRenderer.cpp:319)
==362884== by 0x6810D7: CGUIText::Draw(CGUI&, CGUIColor const&, CPos const&, float, CRect const&) const (CGUIText.cpp:460)
==362884== by 0x66C39C: CButton::Draw() (CButton.cpp:100)
==362884== by 0x6128BA: void IGUIObject::RecurseObject<>(bool (IGUIObject::*)() const, void (IGUIObject::*)()) (IGUIObject.h:276)

Event Timeline

elexis created this paste.Mon, Sep 9, 8:07 PM
elexis created this object with visibility "Public (No Login Required)".

Affected line:

glDrawElements(GL_TRIANGLES, indexes.size(), GL_UNSIGNED_SHORT, &indexes[0]);