Browse Source

closed memory leak

Sven Sickert 10 years ago
parent
commit
43650c90b5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      features/fpfeatures/ConvolutionFeature.cpp

+ 2 - 1
features/fpfeatures/ConvolutionFeature.cpp

@@ -80,7 +80,8 @@ ConvolutionFeature::ConvolutionFeature ( const ConvolutionFeature *confFeat )
 /** simple destructor */
 /** simple destructor */
 ConvolutionFeature::~ConvolutionFeature ( )
 ConvolutionFeature::~ConvolutionFeature ( )
 {
 {
-
+    if ( params != NULL)
+        delete params;
 }
 }