| 308 | } |
| 309 | |
| 310 | void CheckMemoryLeakImpl::deallocuseError(const Token *tok, const std::string &varname) const |
| 311 | { |
| 312 | reportErr(tok, Severity::error, "deallocuse", "$symbol:" + varname + "\nDereferencing '$symbol' after it is deallocated / released", CWE(416U)); |
| 313 | } |
| 314 | |
| 315 | void CheckMemoryLeakImpl::mismatchAllocDealloc(const std::list<const Token *> &callstack, const std::string &varname) const |
| 316 | { |
no test coverage detected