]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.cxx
Ready for 0.3.8 release.
[simgear.git] / simgear / sound / xmlsound.cxx
index 9d8dfdbc78fa5298ba18e37c69ce1f4a0459aa9e..fbb4504ac1de562574b2e8a3886dcc4fb827c6b3 100644 (file)
@@ -3,7 +3,7 @@
 // Started by Erik Hofman, February 2002
 // (Reuses some code from  fg_fx.cxx created by David Megginson)
 //
-// Copyright (C) 2002  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2002  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -80,11 +80,8 @@ SGXmlSound::~SGXmlSound()
 {
     _sample->stop();
 
-    if (_property)
-        delete _property;
-
-    if (_condition)
-        delete _condition;
+    delete _property;
+    delete _condition;
 
     _volume.clear();
     _pitch.clear();