trafficcontrol: Code cleanup and removed unnecessary heap allocation
trafficcontrol: Code cleanup and removed unnecessary heap allocation

tobsan/softwarecontainer,frznlogic/softwarecontainer,frznlogic/softwarecontainer,DunderRoffe/softwarecontainer,kursatkobya/softwarecontainer,tobsan/softwarecontainer,DunderRoffe/softwarecontainer,kursatkobya/softwarecontainer,DunderRoffe/softwarecontainer,thenor/softwarecontainer,thenor/softwarecontainer,DunderRoffe/softwarecontainer,frznlogic/softwarecontainer,Pelagicore/softwarecontainer,kursatkobya/softwarecontainer,kursatkobya/softwarecontainer,Pelagicore/softwarecontainer,thenor/softwarecontainer,Pelagicore/softwarecontainer,tobsan/softwarecontainer,thenor/softwarecontainer,Pelagicore/softwarecontainer,frznlogic/softwarecontainer,tobsan/softwarecontainer