Commit dc1de0de authored by Claes Sjofors's avatar Claes Sjofors

Xtt curve windows, memory leakage fix

parent df7760d9
......@@ -130,8 +130,11 @@ XttFastGtk::~XttFastGtk()
for ( int i = 0; i < fast_cnt; i++) {
gdh_UnrefObjectInfo( new_subid);
}
}
delete curve;
if ( gcd)
delete gcd;
delete wow;
}
......
......@@ -143,6 +143,9 @@ XttSevHistGtk::~XttSevHistGtk()
timerid->remove();
delete curve;
if ( gcd)
delete gcd;
delete wow;
}
......
......@@ -111,6 +111,9 @@ XttTCurveGtk::~XttTCurveGtk()
timerid->remove();
delete curve;
if ( gcd)
delete gcd;
delete wow;
}
......
......@@ -105,6 +105,9 @@ XttTrendGtk::~XttTrendGtk()
gdh_UnrefObjectInfo( subid[i]);
}
delete curve;
if ( gcd)
delete gcd;
delete wow;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment