Browse Source

Fix error in order of destruction for annotation_*.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
03cd2a1c45
2 changed files with 2 additions and 4 deletions
  1. +1
    -1
      Timeline/Annotation_Point.H
  2. +1
    -3
      Timeline/Annotation_Region.C

+ 1
- 1
Timeline/Annotation_Point.H View File

@@ -100,8 +100,8 @@ public:

~Annotation_Point ( )
{
if ( _label ) free( _label );
log_destroy();
if ( _label ) free( _label );
}




+ 1
- 3
Timeline/Annotation_Region.C 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 )
{


Loading…
Cancel
Save