| 92 | } |
| 93 | |
| 94 | void MmapLeakyBucket::freeMmapPtr(void * ptr, uint32_t len) { |
| 95 | if (0 != munmap(ptr, len)) { |
| 96 | //Log( COMM_LOG_ERR, "ERR: munmap fail, errno %d, %s\n", |
| 97 | // errno, strerror( errno ) ); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | int MmapLeakyBucket::Init(Config_t * ptConfig, const char * sPath) { |
| 102 | m_tConfig = *ptConfig; |
nothing calls this directly
no outgoing calls
no test coverage detected