STEER/CDB: Missing delete in AliDCSSensor dtor
[u/mrichter/AliRoot.git] / STEER / CDB / AliDCSSensor.cxx
index ebfedf7..2d32ac0 100644 (file)
@@ -69,6 +69,16 @@ AliDCSSensor::AliDCSSensor(const AliDCSSensor& source) :
    if (source.fFit) fFit = (AliSplineFit*)source.fFit->Clone();
 }
 
+AliDCSSensor::~AliDCSSensor(){
+  //
+  // Destructor
+  //
+  if(fGraph)
+    delete fGraph;
+  fGraph=0;
+
+}
+
 AliDCSSensor& AliDCSSensor::operator=(const AliDCSSensor& source){
 //
 // assignment operator