1
General / Memory Leaks
« on: July 27, 2009, 05:13:35 pm »
Oh ok, thanks for the quick answer. Looking forward to SFML 2.0.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#include <vld.h>
#include <sfml/Graphics.hpp>
int main() {
sf::RenderWindow rw(sf::VideoMode(640, 480), "Leak Test");
return 0;
}
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 0 at 0x01A63D20: 4 bytes ----------
Call Stack:
0x004E11C2 (File and line number not available): sf::Context::GetGlobal
0x004F5DD3 (File and line number not available): FreeLibrary
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0dat.c (855): _initterm
f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c (512): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c (414): mainCRTStartup
0x7C817067 (File and line number not available): RegisterWaitForInputIdle
...
---------- Block 2 at 0x01A63D60: 20 bytes ----------
Call Stack:
0x004E9454 (File and line number not available): std::_Allocate<std::_Tree_nod<std::_Tset_traits<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *>,0> >::_Node>
0x004E8BFE (File and line number not available): std::allocator<std::_Tree_nod<std::_Tset_traits<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *>,0> >::_Node>::allocate
0x004E88F3 (File and line number not available): std::_Tree<std::_Tset_traits<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *>,0> >::_Buynode
0x004E771B (File and line number not available): std::_Tree<std::_Tset_traits<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *>,0> >::_Init
0x004E581F (File and line number not available): std::_Tree<std::_Tset_traits<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *>,0> >::_Tree<std::_Tset_traits<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *>,0> >
0x004E498E (File and line number not available): std::set<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *> >::set<sf::WindowListener *,std::less<sf::WindowListener *>,std::allocator<sf::WindowListener *> >
0x004E3D26 (File and line number not available): sf::priv::WindowImpl::WindowImpl
0x004E978A (File and line number not available): sf::priv::WindowImplWin32::WindowImplWin32
0x004E3A4B (File and line number not available): sf::priv::WindowImpl::New
0x004E0FC0 (File and line number not available): sf::Context::Context
0x004E11E3 (File and line number not available): sf::Context::GetGlobal
0x004F5DD3 (File and line number not available): FreeLibrary
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0dat.c (855): _initterm
f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c (512): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c (414): mainCRTStartup
0x7C817067 (File and line number not available): RegisterWaitForInputIdle
...
---------- Block 1 at 0x01A67008: 216 bytes ----------
Call Stack:
0x004E3A27 (File and line number not available): sf::priv::WindowImpl::New
0x004E0FC0 (File and line number not available): sf::Context::Context
0x004E11E3 (File and line number not available): sf::Context::GetGlobal
0x004F5DD3 (File and line number not available): FreeLibrary
f:\sp\vctools\crt_bld\self_x86\crt\src\crt0dat.c (855): _initterm
f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c (512): __tmainCRTStartup
f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c (414): mainCRTStartup
0x7C817067 (File and line number not available): RegisterWaitForInputIdle
...