Sorry,
The code I am running the test
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
int main()
{
// Create the main window
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
// Start the game loop
while (window.isOpen())
{
// Process events
sf::Event event;
while (window.pollEvent(event))
{
// Close window : exit
if (event.type == sf::Event::Closed)
window.close();
}
// Clear screen
window.clear();
// Update the window
window.display();
}
_CrtDumpMemoryLeaks();
return EXIT_SUCCESS;
}
and the mem leak reports;
Detected memory leaks!
Dumping objects ->
{159} normal block at 0x001A52E0, 4 bytes long.
Data: <4"0 > 34 22 30 00
{150} normal block at 0x001A5290, 20 bytes long.
Data: < L L L Q > 98 4C 1A 00 98 4C 1A 00 98 4C 1A 00 D0 51 1A 00
{149} normal block at 0x001A5238, 24 bytes long.
Data: < > E0 17 86 00 FF FF FF FF 00 00 00 00 00 00 00 00
{148} normal block at 0x001A51D0, 40 bytes long.
Data: < A R > A4 41 AF 52 18 00 00 00 08 00 00 00 00 00 00 00
{146} normal block at 0x001A4F18, 40 bytes long.
Data: < A R > A4 41 AF 52 18 00 00 00 08 00 00 00 00 00 00 00
{145} normal block at 0x001A4ED0, 8 bytes long.
Data: <t M > 74 F6 4D 00 00 00 00 00
{142} normal block at 0x001A4D40, 24 bytes long.
Data: <H > 48 F8 84 00 FF FF FF FF 00 00 00 00 00 00 00 00
{141} normal block at 0x001A4CE8, 24 bytes long.
Data: < > 10 F8 84 00 FF FF FF FF 00 00 00 00 00 00 00 00
{140} normal block at 0x001A4C98, 20 bytes long.
Data: < R R R > 90 52 1A 00 90 52 1A 00 90 52 1A 00 CD CD CD CD
{139} normal block at 0x001A4C50, 8 bytes long.
Data: < R > BC 92 AF 52 00 00 00 00
{138} normal block at 0x001A4C10, 4 bytes long.
Data: < > 0D 00 00 00
{137} normal block at 0x001A4BD0, 4 bytes long.
Data: < > 0C 00 00 00
Object dump complete.
as you can see I am doing
_CrtDumpMemoryLeaks();
before
return EXIT_SUCCESS;
Would that pick up these problems your talking about?