ovn-nbctl: Fix double free in nbctl_lr_route_list().
authorWilliam Tu <u9012063@gmail.com>
Wed, 29 Jun 2016 05:02:26 +0000 (22:02 -0700)
committerBen Pfaff <blp@ovn.org>
Sun, 3 Jul 2016 04:27:07 +0000 (21:27 -0700)
commited46c52248ba3b31d43a729cc4883fc6661a7edb
tree391d1009ff5c2534d4f71c64c70fd65521b286b7
parent38e7f9bfd1e99fb2d12508006ff56a9d59995a7c
ovn-nbctl: Fix double free in nbctl_lr_route_list().

The intent here was to free the error reported by ipv6_parse_cidr(),
but in fact the error reported by that function was discarded and
the previous error from ip_parse_cidr() was freed again.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/utilities/ovn-nbctl.c