More free
This commit is contained in:
parent
0dd098628e
commit
4c94ac5aa3
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
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);
|
||||
}
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue