mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-30 05:21:55 -06:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue