tech-net archive

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

Memory leak in if_arp.c



Hi,
after hearing about bouyer@'s mbuf leak problem, I launched my code scanner on
netinet/, and it found a bug:

-------------------------- netinet/if_arp.c l.1476 --------------------------

        if ((m = m_gethdr(M_DONTWAIT, MT_DATA)) == NULL)
                return;
        [...]
        if (tha == NULL)
                return;

-----------------------------------------------------------------------------

'm' is leaked. However, this is not my area of working; can someone fix it?

(and it doesn't solve his problem)

Regards,
Maxime


Home | Main Index | Thread Index | Old Index