MCPcopy Create free account
hub / github.com/acl-dev/acl / reset

Method reset

lib_acl_cpp/src/mime/rfc822.cpp:596–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594}
595
596void 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

Callers 2

memcache.cppFile · 0.45
mime.cppFile · 0.45

Calls 3

beginMethod · 0.80
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected