| 1204 | } |
| 1205 | |
| 1206 | void CheckMemoryLeakNoVarImpl::returnValueNotUsedError(const Token *tok, const std::string &alloc) |
| 1207 | { |
| 1208 | reportError(tok, Severity::error, "leakReturnValNotUsed", "$symbol:" + alloc + "\nReturn value of allocation function '$symbol' is not stored.", CWE771, Certainty::normal); |
| 1209 | } |
| 1210 | |
| 1211 | void CheckMemoryLeakNoVarImpl::unsafeArgAllocError(const Token *tok, const std::string &funcName, const std::string &ptrType, const std::string& objType) |
| 1212 | { |
no test coverage detected