bridge: Fix double-free bug in port_reconfigure().
authorBen Pfaff <blp@nicira.com>
Mon, 10 May 2010 17:55:29 +0000 (10:55 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 10 May 2010 17:55:29 +0000 (10:55 -0700)
Reported-by: Peter Balland <peter@nicira.com>
Bug #2794

vswitchd/bridge.c

index e20d407..74c7d57 100644 (file)
@@ -3391,8 +3391,6 @@ port_reconfigure(struct port *port, const struct ovsrec_port *cfg)
     }
     bitmap_free(port->trunks);
     port->trunks = trunks;
-
-    shash_destroy(&new_ifaces);
 }
 
 static void