| 117 | } |
| 118 | |
| 119 | void CheckLeakAutoVarImpl::mismatchError(const Token *deallocTok, const Token *allocTok, const std::string &varname) const |
| 120 | { |
| 121 | const CheckMemoryLeakImpl c(mTokenizer, mSettings, mErrorLogger); |
| 122 | const std::list<const Token *> callstack = { allocTok, deallocTok }; |
| 123 | c.mismatchAllocDealloc(callstack, varname); |
| 124 | } |
| 125 | |
| 126 | void CheckLeakAutoVarImpl::deallocUseError(const Token *tok, const std::string &varname) const |
| 127 | { |
nothing calls this directly
no test coverage detected