Timeline: Fix null pointer derefrence when copying sequence points.

This commit is contained in:
Jonathan Moore Liles 2012-06-04 23:00:13 -07:00
parent 2af46a1a0c
commit c0375e614a
1 changed files with 3 additions and 1 deletions

View File

@ -25,8 +25,10 @@
Sequence_Point::Sequence_Point ( const Sequence_Point &rhs ) : Sequence_Widget( rhs )
{
if ( _label )
if ( rhs._label )
_label = strdup( rhs._label );
else
_label = 0;
}
Sequence_Point::Sequence_Point ( )