Commit dc1de0de authored by Claes Sjofors's avatar Claes Sjofors

Xtt curve windows, memory leakage fix

parent df7760d9
...@@ -130,8 +130,11 @@ XttFastGtk::~XttFastGtk() ...@@ -130,8 +130,11 @@ XttFastGtk::~XttFastGtk()
for ( int i = 0; i < fast_cnt; i++) { for ( int i = 0; i < fast_cnt; i++) {
gdh_UnrefObjectInfo( new_subid); gdh_UnrefObjectInfo( new_subid);
} }
delete curve; delete curve;
if ( gcd)
delete gcd;
delete wow;
} }
......
...@@ -143,6 +143,9 @@ XttSevHistGtk::~XttSevHistGtk() ...@@ -143,6 +143,9 @@ XttSevHistGtk::~XttSevHistGtk()
timerid->remove(); timerid->remove();
delete curve; delete curve;
if ( gcd)
delete gcd;
delete wow;
} }
......
...@@ -111,6 +111,9 @@ XttTCurveGtk::~XttTCurveGtk() ...@@ -111,6 +111,9 @@ XttTCurveGtk::~XttTCurveGtk()
timerid->remove(); timerid->remove();
delete curve; delete curve;
if ( gcd)
delete gcd;
delete wow;
} }
......
...@@ -105,6 +105,9 @@ XttTrendGtk::~XttTrendGtk() ...@@ -105,6 +105,9 @@ XttTrendGtk::~XttTrendGtk()
gdh_UnrefObjectInfo( subid[i]); gdh_UnrefObjectInfo( subid[i]);
} }
delete curve; 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