]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Patch #1623: Add missing pbuf_free() call after pbuf_chain() in slipif_input()
authormarcbou <marcbou>
Thu, 19 Jun 2003 10:30:13 +0000 (10:30 +0000)
committermarcbou <marcbou>
Thu, 19 Jun 2003 10:30:13 +0000 (10:30 +0000)
src/netif/slipif.c

index 894213455377d83040e5fba292c1e9d15918da44..ccafa5795eff280d7dc74b58ac345d0efda314d2 100644 (file)
@@ -150,6 +150,7 @@ slipif_input( struct netif * netif )
   
   if (q != NULL) {
     pbuf_chain(q, p);
+    pbuf_free(p);
   } else {
     q = p;
   }