1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 09:59:04 +00:00

Be sure to free a strdup'd string in NpingOps destructor. #1834

This commit is contained in:
dmiller
2019-12-25 20:01:16 +00:00
parent 8ad0a33c37
commit c155bf1bdc

View File

@@ -395,6 +395,8 @@ NpingOps::~NpingOps() {
free(ip_options);
if ( target_ports!=NULL )
free(target_ports);
if (delayed_rcvd_str_set)
free(delayed_rcvd_str);
return;
} /* End of ~NpingOps() */