Subject: | ->marshall() has large memory leak |
the marshall() function is extremely useful to avoid repeatedly creating
and destroying the Net::DHCP option. the same object can be used to
decode subsequent packets.
unfortunately the marshall function doesnt clear the previous data from
addOptionsRaw(), so subsequent raw options are concatenated to the
object gradually filling memory.
if you create a new object each time, this isnt a problem.