| 1199 | } |
| 1200 | |
| 1201 | void CheckMemoryLeakNoVarImpl::functionCallLeak(const Token *loc, const std::string &alloc, const std::string &functionCall) |
| 1202 | { |
| 1203 | reportError(loc, Severity::error, "leakNoVarFunctionCall", "Allocation with " + alloc + ", " + functionCall + " doesn't release it.", CWE772, Certainty::normal); |
| 1204 | } |
| 1205 | |
| 1206 | void CheckMemoryLeakNoVarImpl::returnValueNotUsedError(const Token *tok, const std::string &alloc) |
| 1207 | { |
no test coverage detected