mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Be sure to free a strdup'd string in NpingOps destructor. #1834
This commit is contained in:
parent
8ad0a33c37
commit
c155bf1bdc
1 changed files with 2 additions and 0 deletions
|
|
@ -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() */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue