aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
Diffstat (limited to 'slirp')
-rw-r--r--slirp/if.c2
1 files changed, 2 insertions, 0 deletions
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;
}