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() */