X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Ftiming%2Fsg_time.cxx;h=45fd41c1488ce08e2dca0c37906e53368bcfa255;hb=a25e859fa773c9463e4bec042b8d0b39041c29ad;hp=66f4b16e93da0da6d06c707bdd1932a0ff4f4a63;hpb=e3fc89890c8f5cb4c09f936209e46878d2f2ea67;p=simgear.git diff --git a/simgear/timing/sg_time.cxx b/simgear/timing/sg_time.cxx index 66f4b16e..45fd41c1 100644 --- a/simgear/timing/sg_time.cxx +++ b/simgear/timing/sg_time.cxx @@ -122,11 +122,7 @@ SGTime::SGTime() { SGTime::~SGTime() { - if ( tzContainer != NULL ) { - SGTimeZoneContainer *tmp = tzContainer; - tzContainer = NULL; - delete tmp; - } + delete tzContainer; }