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 e20d407387785f5f6cb999ef0e7b2d092cbc893e..74c7d57858fc656ecbf9b9b2b404985b4da6a84c 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