From: Ben Pfaff <blp@nicira.com>
Date: Tue, 6 Apr 2010 22:07:54 +0000 (-0700)
Subject: in-band: Fix memory leak in in_band_destroy().
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7103dec49eb569c3196239da6c178a29c3003e2b;p=openvswitch

in-band: Fix memory leak in in_band_destroy().
---

diff --git a/ofproto/in-band.c b/ofproto/in-band.c
index adf89d12..f3cd02b8 100644
--- a/ofproto/in-band.c
+++ b/ofproto/in-band.c
@@ -649,6 +649,7 @@ in_band_destroy(struct in_band *in_band)
         netdev_close(in_band->local_netdev);
         netdev_close(in_band->remote_netdev);
         /* We don't own the rconn. */
+        free(in_band);
     }
 }