X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Flayout.cpp;h=d243374de5f7df4eed4a66931711b43dd201041c;hb=0db89b665527609582df98854c9e3255d1017811;hp=bd59e126a91befd5a87ce1678a76cca91df1c257;hpb=4056f9df5b947439d682de675cef0a490f2a4e76;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())