memory leak fix (Juergen Keil)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1067 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
cf720db33a
commit
c9a621176e
@ -315,6 +315,8 @@ if_start(void)
|
|||||||
/* Encapsulate the packet for sending */
|
/* Encapsulate the packet for sending */
|
||||||
if_encap(ifm->m_data, ifm->m_len);
|
if_encap(ifm->m_data, ifm->m_len);
|
||||||
|
|
||||||
|
m_free(ifm);
|
||||||
|
|
||||||
if (if_queued)
|
if (if_queued)
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user