| 594 | } |
| 595 | |
| 596 | void rfc822::reset() |
| 597 | { |
| 598 | std::list<rfc822_addr*>::iterator it = addrs_.begin(); |
| 599 | for (; it != addrs_.end(); ++it) { |
| 600 | acl_myfree((*it)->addr); |
| 601 | if ((*it)->comment) { |
| 602 | acl_myfree((*it)->comment); |
| 603 | } |
| 604 | acl_myfree(*it); |
| 605 | } |
| 606 | |
| 607 | addrs_.clear(); |
| 608 | } |
| 609 | |
| 610 | } // namespace acl |
| 611 |
no test coverage detected