From c9a621176e479b8106056ed992fddf34d9d0d206 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 13 Sep 2004 21:42:51 +0000 Subject: [PATCH] memory leak fix (Juergen Keil) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1067 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/if.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slirp/if.c b/slirp/if.c index 282b674c5e..9317cbfe9c 100644 --- a/slirp/if.c +++ b/slirp/if.c @@ -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; } -- GitLab