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