Fix error in order of destruction for annotation_*.

This commit is contained in:
Jonathan Moore Liles 2008-05-05 14:50:06 -05:00
parent 8b1dea33a6
commit 03cd2a1c45
2 changed files with 2 additions and 4 deletions

View File

@ -100,8 +100,8 @@ public:
~Annotation_Point ( )
{
if ( _label ) free( _label );
log_destroy();
if ( _label ) free( _label );
}

View File

@ -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 )
{