[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Memory Leak in LS Routing Code



Title: Memory Leak in LS Routing Code

Hi,

It looks like there is a memory leak in the Link State Routing Code, everytime computeRoutes is called.
If somebody else has noticed it, can you please confirm if this is true?

Everytime LsRouting::computeRoutes function from file linkstate/ls.h is called, it seems to assign the
new Routing Table returned by LsRouting::_computeRoutes to the pointer, routingTablePtr_.
But I don't see any place where it is deleting the previously allocated routingTablePtr_.

Thanks,
Shekhar