From: ehofman Date: Thu, 22 Jul 2004 08:04:18 +0000 (+0000) Subject: Correct a typo that produces segfault during cleanup on some systems. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=29269c6686458c760b745a6e02c438cedeb63d56;p=simgear.git Correct a typo that produces segfault during cleanup on some systems. --- diff --git a/simgear/scene/model/animation.cxx b/simgear/scene/model/animation.cxx index 8a1c73e2..b6f9ecbc 100644 --- a/simgear/scene/model/animation.cxx +++ b/simgear/scene/model/animation.cxx @@ -963,8 +963,7 @@ SGTexMultipleAnimation::SGTexMultipleAnimation( SGPropertyNode *prop_root, SGTexMultipleAnimation::~SGTexMultipleAnimation () { - // delete _table; - delete _transform; + delete [] _transform; } int