in-band: Fix memory leak in in_band_destroy().
authorBen Pfaff <blp@nicira.com>
Tue, 6 Apr 2010 22:07:54 +0000 (15:07 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Apr 2010 18:01:44 +0000 (11:01 -0700)
ofproto/in-band.c

index adf89d123e224d3b07b2372136ce4d647143713b..f3cd02b88b351a4349f46d47afe4998273f9c457 100644 (file)
@@ -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);
     }
 }