Fix error in order of destruction for annotation_*.
This commit is contained in:
parent
8b1dea33a6
commit
03cd2a1c45
|
@ -100,8 +100,8 @@ public:
|
||||||
|
|
||||||
~Annotation_Point ( )
|
~Annotation_Point ( )
|
||||||
{
|
{
|
||||||
if ( _label ) free( _label );
|
|
||||||
log_destroy();
|
log_destroy();
|
||||||
|
if ( _label ) free( _label );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -71,12 +71,10 @@ Annotation_Region::Annotation_Region ( const Annotation_Region &rhs )
|
||||||
|
|
||||||
Annotation_Region::~Annotation_Region ( )
|
Annotation_Region::~Annotation_Region ( )
|
||||||
{
|
{
|
||||||
if ( _label ) free( _label );
|
|
||||||
log_destroy();
|
log_destroy();
|
||||||
|
if ( _label ) free( _label );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Annotation_Region::draw_box ( void )
|
Annotation_Region::draw_box ( void )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue