commit | c9a621176e479b8106056ed992fddf34d9d0d206 | [log] [tgz] |
---|---|---|
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Mon Sep 13 21:42:51 2004 +0000 |
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | Mon Sep 13 21:42:51 2004 +0000 |
tree | 650fe5a3197bb006041e8a9ec9cae6011549a905 | |
parent | cf720db33a6b46869a9c7c12d237a08d881e8bfb [diff] |
memory leak fix (Juergen Keil) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1067 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/slirp/if.c b/slirp/if.c index 282b674..9317cbf 100644 --- a/slirp/if.c +++ b/slirp/if.c
@@ -315,6 +315,8 @@ /* Encapsulate the packet for sending */ if_encap(ifm->m_data, ifm->m_len); + m_free(ifm); + if (if_queued) goto again; }