Przeglądaj źródła

closed memory leak

Sven Sickert 11 lat temu
rodzic
commit
43650c90b5
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      features/fpfeatures/ConvolutionFeature.cpp

+ 2 - 1
features/fpfeatures/ConvolutionFeature.cpp

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