X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Flayout.cpp;h=cbe226a684c31ffcf6229fd5d1ead978530ae269;hb=85362cce505281c1d281c959e135c9f8fa12bd5c;hp=a55819bdb3db2763abc7825a8b6fc6121fbac426;hpb=247742fbc1c27bfc9fdef4630afcdc2408cdd550;p=r2c2.git diff --git a/source/libr2c2/layout.cpp b/source/libr2c2/layout.cpp index a55819b..cbe226a 100644 --- a/source/libr2c2/layout.cpp +++ b/source/libr2c2/layout.cpp @@ -53,6 +53,8 @@ Layout::~Layout() delete trains.begin()->second; while(!routes.empty()) delete *routes.begin(); + while(!zones.empty()) + delete *zones.begin(); while(!tracks.empty()) delete *tracks.begin(); while(!blocks.empty())