Index: gimp-texturize-2.1/src/graphcut.cpp
===================================================================
--- gimp-texturize-2.1.orig/src/graphcut.cpp	2012-01-09 16:19:38.849096821 -0300
+++ gimp-texturize-2.1/src/graphcut.cpp	2012-01-09 16:21:07.393375329 -0300
@@ -97,7 +97,8 @@
   gint x_inf, y_inf, x_sup, y_sup;
   int chute_patch_posn[2];
   Graph * graphe = new Graph(); // Le graphe  couper
-  Graph::node_id node_of_pixel[width_p * height_p]; // Le noeud du graph auquel correspond un pointeur.
+  // Le noeud du graph auquel correspond un pointeur.
+  Graph::node_id *node_of_pixel = (void **) calloc (width_p * height_p, sizeof (Graph::node_id));
   for (k=0; k<width_p * height_p; k++) node_of_pixel[k] = NULL;
 
   Graph::captype poids; // Pour calculer le poids d'un arc avant de le dclarer  Graph:add_edge
@@ -319,6 +320,7 @@
 //On nettoie tout
 
   delete graphe;
+  free (node_of_pixel);
 
   return;
 }
