More free

This commit is contained in:
Mylloon 2022-05-09 11:49:34 +02:00
parent 0dd098628e
commit 4c94ac5aa3
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -23,9 +23,9 @@ QuadTree::QuadTree(SDL_Surface * image, short niveau_p): niveau(niveau_p), coule
nord_est = new QuadTree(image_coupe.at(2), niveau + 1); nord_est = new QuadTree(image_coupe.at(2), niveau + 1);
sud_est = new QuadTree(image_coupe.at(3), niveau + 1); sud_est = new QuadTree(image_coupe.at(3), niveau + 1);
for(SDL_Surface * it: image_coupe) { /* for(SDL_Surface * it: image_coupe) {
SDL_FreeSurface(it); SDL_FreeSurface(it);
} } */
} }
} }