More free

This commit is contained in:
Mylloon 2022-05-09 11:50:28 +02:00
parent 4c94ac5aa3
commit c5aa101bf0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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); */
}