1
0
Fork 0

[swift] Fix memory leak in traffic-service

This commit is contained in:
Lars Toenning 2020-01-29 10:21:02 +01:00 committed by James Turner
parent eb3fba1871
commit ee0d03b4d0

View file

@ -45,6 +45,8 @@ CTraffic::CTraffic()
CTraffic::~CTraffic()
{
cleanup();
delete acm;
acm = nullptr;
SG_LOG(SG_NETWORK, SG_INFO, "FGSwiftBus Traffic stopped");
}