host-info: coverity 1298890

pull/2428/head
Victor Julien 9 years ago
parent 9904b3f348
commit da6bf0c1b6

@ -230,8 +230,7 @@ int SCHInfoAddHostOSInfo(char *host_os, char *host_os_ip_range, int is_ipv4)
SCHInfoAddHostOSInfo(host_os, ip_str_rem, is_ipv4);
}
if (ip_str != NULL)
SCFree(ip_str);
SCFree(ip_str);
if (ipv4_addr != NULL)
SCFree(ipv4_addr);
if (ipv6_addr != NULL)

Loading…
Cancel
Save