diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-04-21 11:00:15 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-04-21 11:00:15 +0000 |
| commit | 748a6dedb52d5b6a978efc26c22032f6bb4032fd (patch) | |
| tree | f209f3cd62e95c9d5ec859323fde86d6baa6c83e /main/enigma.cpp | |
| parent | f58e4c7b0aa0b7246b56e1956e23cf5b41dd6f9c (diff) | |
| download | enigma2-748a6dedb52d5b6a978efc26c22032f6bb4032fd.tar.gz enigma2-748a6dedb52d5b6a978efc26c22032f6bb4032fd.zip | |
fix for memleak check
Diffstat (limited to 'main/enigma.cpp')
| -rw-r--r-- | main/enigma.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/enigma.cpp b/main/enigma.cpp index f7cf44e0..31b81a3f 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -105,6 +105,10 @@ int exit_code; int main(int argc, char **argv) { +#ifdef MEMLEAK_CHECK + atexit(DumpUnfreed); +#endif + #ifdef OBJECT_DEBUG atexit(object_dump); #endif |
