]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.cxx
Ready for 0.3.8 release.
[simgear.git] / simgear / sound / xmlsound.cxx
index 48a2d0ee2b7acf8c00bd61ec0872fbe1659f098c..fbb4504ac1de562574b2e8a3886dcc4fb827c6b3 100644 (file)
@@ -80,11 +80,8 @@ SGXmlSound::~SGXmlSound()
 {
     _sample->stop();
 
-    if (_property)
-        delete _property;
-
-    if (_condition)
-        delete _condition;
+    delete _property;
+    delete _condition;
 
     _volume.clear();
     _pitch.clear();