Browse Source

Don't forget to free space allocated for lables.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
0ffa0144db
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Fl_Flip_Button.H

+ 5
- 1
Fl_Flip_Button.H View File

@@ -44,7 +44,11 @@ public:
type( FL_TOGGLE_BUTTON );
}

virtual ~Fl_Flip_Button ( ) { }
virtual ~Fl_Flip_Button ( )
{
if ( _off ) free( _off );
if ( _on ) free( _on );
}

protected:



Loading…
Cancel
Save