Fix memory leak: Don't need to call strdup here

The other_node outlive the trav structure, so we can just use the same pointer