diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-13 21:42:51 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-09-13 21:42:51 +0000 |
commit | c9a621176e479b8106056ed992fddf34d9d0d206 (patch) | |
tree | 650fe5a3197bb006041e8a9ec9cae6011549a905 /slirp/if.c | |
parent | cf720db33a6b46869a9c7c12d237a08d881e8bfb (diff) | |
download | qemu-c9a621176e479b8106056ed992fddf34d9d0d206.zip qemu-c9a621176e479b8106056ed992fddf34d9d0d206.tar.gz qemu-c9a621176e479b8106056ed992fddf34d9d0d206.tar.bz2 |
memory leak fix (Juergen Keil)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1067 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/if.c')
-rw-r--r-- | slirp/if.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -315,6 +315,8 @@ if_start(void) /* Encapsulate the packet for sending */ if_encap(ifm->m_data, ifm->m_len); + m_free(ifm); + if (if_queued) goto again; } |