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 adf89d1..f3cd02b 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);
     }
 }