ofproto: Fix memory leak in wx_port_free().
authorBen Pfaff <blp@nicira.com>
Wed, 25 Aug 2010 20:09:35 +0000 (13:09 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Aug 2010 20:09:35 +0000 (13:09 -0700)
commit40fad32064a98cdf795bb425812c96f63a79584c
tree6cf91a667eac597787162db5d4222a82e1fc9b10
parent7b9bbb8c896777a02b9a3827603c0f5368c8929e
ofproto: Fix memory leak in wx_port_free().

wdp_port->devname should be freed, but this code wasn't doing that.  Fix
it by using the existing wdp_port_free() function, which does free the
devname.

Reported-by: Tsvi Slonim <tsvi@toroki.com>
ofproto/wdp-xflow.c