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:
@@ -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() */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user