| 299 | } |
| 300 | |
| 301 | void IPCSignalWatcher::destroyExecutableEnvironment(char** const envp) |
| 302 | { |
| 303 | if (envp != nullptr) { |
| 304 | char** envp_current = envp; |
| 305 | |
| 306 | while (envp_current[0] != nullptr) { |
| 307 | delete [] envp_current[0]; |
| 308 | ++envp_current; |
| 309 | } |
| 310 | |
| 311 | delete [] envp; |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | char* IPCSignalWatcher::cstrCopy(const char* c_str) |
| 316 | { |
nothing calls this directly
no outgoing calls
no test coverage detected