X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Flayout.cpp;h=d243374de5f7df4eed4a66931711b43dd201041c;hb=dda1e6c8716b6ac70d63a3f6ff95474a8b8b7336;hp=bd59e126a91befd5a87ce1678a76cca91df1c257;hpb=c6787ec3c08690532d5659d56faa531c2ce2ef36;p=r2c2.git diff --git a/source/3d/layout.cpp b/source/3d/layout.cpp index bd59e12..d243374 100644 --- a/source/3d/layout.cpp +++ b/source/3d/layout.cpp @@ -33,6 +33,8 @@ Layout3D::Layout3D(Layout &l): Layout3D::~Layout3D() { + while(!signals.empty()) + delete signals.begin()->second; while(!tracks.empty()) delete tracks.begin()->second; while(!vehicles.empty())