[ovs-dev] [PATCH 09/14] in-band: Fix memory leak in in_band_destroy().

Ben Pfaff blp at nicira.com
Fri Apr 9 00:07:07 UTC 2010


---
 ofproto/in-band.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ofproto/in-band.c b/ofproto/in-band.c
index 7e2fc53..1f9d422 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);
     }
 }
 
-- 
1.6.6.1





More information about the dev mailing list