diff --git a/src/quadtree.cpp b/src/quadtree.cpp index 465bafe..4be953c 100644 --- a/src/quadtree.cpp +++ b/src/quadtree.cpp @@ -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); - } + } */ } }