ovs-dpctl: Add a missing simap_destroy()
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 23 Sep 2013 20:07:24 +0000 (13:07 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 24 Sep 2013 22:57:19 +0000 (15:57 -0700)
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-dpctl.c

index dad4eed..be94f0b 100644 (file)
@@ -1060,6 +1060,7 @@ dpctl_normalize_actions(int argc, char *argv[])
     ofpbuf_init(&odp_actions, 0);
     run(odp_actions_from_string(argv[2], &port_names, &odp_actions),
         "odp_actions_from_string");
+    simap_destroy(&port_names);
 
     if (verbosity) {
         ds_clear(&s);