]> git.tdb.fi Git - r2c2.git/commit
Fix a bug with attaching ends in ExtendTool
authorMikko Rasa <tdb@tdb.fi>
Sat, 3 May 2014 09:17:07 +0000 (12:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 3 May 2014 10:35:27 +0000 (13:35 +0300)
commit50462807446fd62dbacfba90a7afffc1ff70d3b1
tree38527b7287957c33d36efc59352d8eb4a70e68c8
parent5929b101ee38b5668b328e7b1eac4bf49c912412
Fix a bug with attaching ends in ExtendTool

This managed to avoid a segfault despite the null pointer dereference,
because the first thing Track::link_to does is check if the passed-in
reference is a track, and a null pointer isn't.
source/designer/extendtool.cpp