]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a crash encountered with ATC.
authorJames Turner <zakalawe@mac.com>
Tue, 21 Aug 2012 17:12:25 +0000 (18:12 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 21 Aug 2012 17:12:25 +0000 (18:12 +0100)
This might need to be back-ported to 2.8 (to make a 2.8.1), unless it's been exposed by some of my other changes. Which I think is unlikely but not impossible.

src/ATCDCL/ATC.cxx

index 5e03ca38308419a2dfc0895befd876ad90251376..6aae329c946522c2aace1f31228d8629cfcf0bf4 100644 (file)
@@ -40,6 +40,7 @@ FGATC::FGATC() :
     range(0),
     _voice(true),
     _playing(false),
+    _vPtr(NULL),
     _sgr(NULL),
     _type(INVALID),
     _display(false)