Index: /soft/giet_vm/transpose/main.c
===================================================================
--- /soft/giet_vm/transpose/main.c	(revision 397)
+++ /soft/giet_vm/transpose/main.c	(revision 398)
@@ -23,5 +23,5 @@
 
 #define NN                  128                 // image size : nlines = npixels = 128
-#define NB_IMAGES           5                   // number of images to be handled
+#define NB_IMAGES           2                   // number of images to be handled
 #define FILE_PATHNAME       "misc/images.raw"   // file pathname on disk
 #define NB_CLUSTERS         (X_SIZE * Y_SIZE)   // number of clusters
@@ -80,5 +80,5 @@
     unsigned int task_id    = (cluster_id * NB_PROCS_MAX) + lpid;  // "continuous" task index
 
-    // processor [0,0,0] makes nitialisation
+    // Processor [0,0,0] makes initialisation
     // It includes parameters checking, barriers initialization,
     // distributed buffers allocation, and file open
@@ -376,4 +376,14 @@
     } // end while image      
 
+    // Processor[0,0,0] releases the Distributed buffers
+    if ( proc_id == 0 )
+    {
+        for ( c = 0 ; c < NB_CLUSTERS ; c++ )
+        {
+            free( buf_in[c] );
+            free( buf_in[c] );
+        }
+    }
+
     giet_exit("Completed");
 
