dpif-netdev: Fix memory leak.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Aug 2012 22:19:18 +0000 (15:19 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Aug 2012 16:47:09 +0000 (09:47 -0700)
commit2477924e34a9a0827a0ac0790f442d94f254117c
tree995d4c166ebd717f9cf9cf142f455460308f3548
parent4e090bc7bfe6993f568701d3fdf9c2621babd03c
dpif-netdev: Fix memory leak.

upcall->packet is allocated with malloc(), via ofpbuf_new(), but nothing
ever frees it.

Found by valgrind.

CC: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c