From: John Hodge Date: Mon, 18 Nov 2013 06:42:21 +0000 (+0800) Subject: Modules/IPStack - Free outgoing buffer once sent X-Git-Tag: rel0.15~88 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4c586ab7e4c89220fe8053cf4a5ef1b645915475;p=tpg%2Facess2.git Modules/IPStack - Free outgoing buffer once sent --- diff --git a/KernelLand/Modules/IPStack/adapters.c b/KernelLand/Modules/IPStack/adapters.c index e121eca4..d6185b4e 100644 --- a/KernelLand/Modules/IPStack/adapters.c +++ b/KernelLand/Modules/IPStack/adapters.c @@ -264,6 +264,8 @@ void Adapter_SendPacket(tAdapter *Handle, tIPStackBuffer *Buffer) { Handle->Type->SendPacket( Handle->CardHandle, Buffer ); } + + IPStack_Buffer_DestroyBuffer(Buffer); } // --- Helpers ---