]> git.mxchange.org Git - simgear.git/blobdiff - simgear/timing/sg_time.cxx
Merge branch 'fredb/winfix'
[simgear.git] / simgear / timing / sg_time.cxx
index 66f4b16e93da0da6d06c707bdd1932a0ff4f4a63..45fd41c1488ce08e2dca0c37906e53368bcfa255 100644 (file)
@@ -122,11 +122,7 @@ SGTime::SGTime() {
 
 SGTime::~SGTime()
 {
-    if ( tzContainer != NULL ) {
-        SGTimeZoneContainer *tmp = tzContainer;
-        tzContainer = NULL;
-       delete tmp;
-    }
+    delete tzContainer;
 }