Free memory when removing packet.

This commit is contained in:
Manoel Rebelo Abranches 2011-05-06 14:03:51 -03:00
parent 90eb90e24c
commit c5934345be

View file

@ -178,6 +178,7 @@ grub_net_remove_packet (grub_net_packet_t *pkt)
pkt->next->prev = pkt->prev;
else
pkt->up->last = pkt->prev;
grub_free (pkt);
}
typedef struct grub_net_app_protocol *grub_net_app_level_t;