]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of add-support-for-preloading-ipv
authorSean Hefty <sean.hefty@intel.com>
Fri, 28 Jun 2013 17:53:50 +0000 (10:53 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 28 Jun 2013 17:53:50 +0000 (10:53 -0700)
src/acm.c

index ae326e50c128089e6cc5d12c2e6324c69505511f..a57ab17313fcb93cc708d91a9cbcb6da742c8eee 100644 (file)
--- a/src/acm.c
+++ b/src/acm.c
@@ -2865,6 +2865,7 @@ static void acm_parse_hosts_file(struct acm_ep *ep)
                new_dest->route_timeout = dest->route_timeout;
                new_dest->state = dest->state;
                acm_put_dest(new_dest);
+               acm_put_dest(dest);
                acm_log(1, "added host %s address type %d IB GID %s\n",
                        addr, addr_type, gid);
        }