vswitch: Fix memory leak when OFMP resource updates are sent
authorJustin Pettit <jpettit@nicira.com>
Wed, 10 Jun 2009 20:00:10 +0000 (13:00 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 11 Jun 2009 00:10:54 +0000 (17:10 -0700)
commit2f14f69319cd69d1334777fd6cf59ca75951327a
treec8d9bfc26fed32fd20a5ccf441f30507e9341125
parentd138cd2c0972990dfd58021f11cd877c475a1303
vswitch: Fix memory leak when OFMP resource updates are sent

When a resource update message is generated by vSwitch, it creates a
couple of svec objects that need to be explicitly destroyed.  This
wasn't happening, so memory would leak after each resource update.  This
commit properly destroys them after use.
vswitchd/mgmt.c