Nvwa's memory leak detector is detecting a memory leak of 176 bytes when I create a sf::Window instance under MinGW using the following code:
#include <SFML/Window.hpp>
int main() {
sf::Event event;
sf::Window window(sf::VideoMode(640, 480), "Window", sf::Style::Close);
for (;;) {
while (window.GetEvent(event)) {
if (event.Type == sf::Event::Closed)
return 0;
}
window.Display();
}
}
Should I be concerned about this? SFML 1.2 never reported any memory leaks. I am using Windows XP with SP 2 and here's the commands I used to build the code:
mingw32-g++.exe -g -c test.cpp -o test.o
mingw32-g++.exe -g -c debug_new.cpp -o debug_new.o
mingw32-g++.exe -o tile-d.exe main.o debug_new.o -lsfml-window-s-d -lsfml-system-s-d