diff --git a/src/main.cpp b/src/main.cpp index 60d4ede..405f995 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,5 +52,5 @@ void enregistrementImage(QuadTree quadtree, std::string chemin, short compressio if(IMG_SavePNG(img, chemin.c_str()) != 0) { std::cerr << "Impossible de sauvegarder l'image (" << SDL_GetError() << ")." << std::endl; } - SDL_FreeSurface(img); + /* SDL_FreeSurface(img); */ }