Index: trunk/lib/FlairFilter/src/ButterworthLowPass_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/ButterworthLowPass_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/ButterworthLowPass_impl.cpp	(revision 148)
@@ -42,6 +42,5 @@
   desc->SetElementName(0, 0, "output");
   output = new cvmatrix(self, desc, floatType, name);
-
-  output->SetValue(0, 0, 0);
+  delete desc;
 
   f = new PoleFilter(order);
Index: trunk/lib/FlairFilter/src/ControlLaw.cpp
===================================================================
--- trunk/lib/FlairFilter/src/ControlLaw.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/ControlLaw.cpp	(revision 148)
@@ -41,4 +41,5 @@
     }
     output = new cvmatrix(this, desc, floatType, name);
+    delete desc;
   }
 
Index: trunk/lib/FlairFilter/src/EulerDerivative_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/EulerDerivative_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/EulerDerivative_impl.cpp	(revision 148)
@@ -44,4 +44,5 @@
     }
     output = new cvmatrix(self, desc,init_value->GetDataType().GetElementDataType(), name);
+    delete desc;
     for (int i = 0; i < init_value->Rows(); i++) {
       for (int j = 0; j < init_value->Cols(); j++) {
@@ -54,5 +55,5 @@
     desc->SetElementName(0, 0, "output");
     output = new cvmatrix(self, desc, floatType, name);
-    output->SetValue(0, 0, 0);
+    delete desc;
   }
   
Index: trunk/lib/FlairFilter/src/JoyReference_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/JoyReference_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/JoyReference_impl.cpp	(revision 148)
@@ -49,4 +49,5 @@
   desc->SetElementName(3, 0, "trim_pitch");
   output = new cvmatrix(self, desc, floatType, name);
+  delete desc;
 
   reglages_groupbox = new GroupBox(position, name);
Index: trunk/lib/FlairFilter/src/LowPassFilter_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/LowPassFilter_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/LowPassFilter_impl.cpp	(revision 148)
@@ -51,4 +51,5 @@
       }
     }
+    delete desc;
   } else {
     // if NULL, assume dimension 1, and init=0
@@ -56,5 +57,5 @@
     desc->SetElementName(0, 0, "output");
     output = new cvmatrix(self, desc, floatType, name);
-    output->SetValue(0, 0, 0);
+    delete desc;
   }
 
Index: trunk/lib/FlairFilter/src/PidThrust_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/PidThrust_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/PidThrust_impl.cpp	(revision 148)
@@ -45,4 +45,5 @@
   desc->SetElementName(4, 0, "p+i+d+offset");
   state = new cvmatrix(self, desc, floatType, name);
+  delete desc;
 
   GroupBox *reglages_groupbox = new GroupBox(position, name);
Index: trunk/lib/FlairFilter/src/Pid_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/Pid_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/Pid_impl.cpp	(revision 148)
@@ -42,4 +42,5 @@
   desc->SetElementName(3, 0, "p+i+d");
   state = new cvmatrix(self, desc, floatType, name);
+  delete desc;
 
   GroupBox *reglages_groupbox = new GroupBox(position, name);
Index: trunk/lib/FlairFilter/src/TrajectoryGenerator1D_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/TrajectoryGenerator1D_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/TrajectoryGenerator1D_impl.cpp	(revision 148)
@@ -64,4 +64,5 @@
   desc->SetElementName(1, 0, "vel");
   output = new cvmatrix(self, desc, floatType, name);
+  delete desc;
 
   output->SetValue(0, 0, pos);
Index: trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle_impl.cpp	(revision 148)
@@ -57,9 +57,5 @@
   desc->SetElementName(1, 1, "vel.y");
   output = new cvmatrix(self, desc, floatType, name);
-
-  output->SetValue(0, 0, 0);
-  output->SetValue(0, 1, 0);
-  output->SetValue(1, 0, 0);
-  output->SetValue(1, 1, 0);
+  delete desc;
 }
 
Index: trunk/lib/FlairFilter/src/X4X8Multiplex_impl.cpp
===================================================================
--- trunk/lib/FlairFilter/src/X4X8Multiplex_impl.cpp	(revision 147)
+++ trunk/lib/FlairFilter/src/X4X8Multiplex_impl.cpp	(revision 148)
@@ -56,5 +56,5 @@
 
   output = new cvmatrix(self, desc, floatType);
-
+  delete desc;
   self->AddDataToLog(output);
 }
