IPv6: Remove null check (CID 1364087)

Change-Id: Ia35a78ccaa4f61fbbbfff304f12d813fdbdd009d
Reviewed-on: https://code.wireshark.org/review/16452
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
João Valverde 2016-07-15 02:36:42 +01:00 committed by Michael Mann
parent 996dcc038d
commit 7533c72c4b
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ dissect_routing6_mipv6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
expert_add_info(pinfo, ti, &ei_ipv6_src_route_list_multicast_addr);
}
if (addr != NULL && rt.ip6r_segleft > 0) {
if (rt.ip6r_segleft > 0) {
alloc_address_wmem(pinfo->pool, &pinfo->dst, AT_IPv6, IPv6_ADDR_SIZE, addr);
}
}