datapath: Fix memory leak in port group.
authorBen Pfaff <blp@nicira.com>
Thu, 30 Apr 2009 19:57:20 +0000 (12:57 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 1 May 2009 17:10:28 +0000 (10:10 -0700)
commit15749c8937da54b0b73e9c13ab026ff888e84bd0
tree19a53310e225238dcc8f5f2d026a988b1fda2b60
parent2d4e65e886b3e4baa413da142205487acf2e0a6d
datapath: Fix memory leak in port group.

When we destroy a datapath, we need to free its port groups also.

This is a fairly small memory leak: a few hundred bytes, at most, and
it only occurred each time a datapath was destroyed.
datapath/datapath.c