Cppcheck
Classes
checkmemoryleak.h File Reference

Check for memory leaks More...

#include "check.h"
#include "config.h"
#include "tokenize.h"
#include <list>
#include <string>

Go to the source code of this file.

Classes

class  CheckMemoryLeak
 Base class for memory leaks checking. More...
 
class  CheckMemoryLeakInFunction
 CheckMemoryLeakInFunction detects when a function variable is allocated but not deallocated properly. More...
 
class  CheckMemoryLeakInClass
 Check class variables, variables that are allocated in the constructor should be deallocated in the destructor More...
 
class  CheckMemoryLeakStructMember
 detect simple memory leaks for struct members More...
 
class  CheckMemoryLeakNoVar
 detect simple memory leaks (address not taken) More...
 

Detailed Description

Check for memory leaks

The checking is split up into three specialized classes.

Definition in file checkmemoryleak.h.