| 684 | } |
| 685 | |
| 686 | void CheckMemoryLeakInClassImpl::publicAllocationError(const Token *tok, const std::string &varname) |
| 687 | { |
| 688 | reportError(tok, Severity::warning, "publicAllocationError", "$symbol:" + varname + "\nPossible leak in public function. The pointer '$symbol' is not deallocated before it is allocated.", CWE398, Certainty::normal); |
| 689 | } |
| 690 | |
| 691 | void CheckMemoryLeakInClass::runChecks(const Tokenizer &tokenizer, ErrorLogger& errorLogger) |
| 692 | { |
no test coverage detected