src/Generic/commandLineInterface/CommandLineInterface.cpp
/** Check if any memory has been leaked since the leak detection 
	  * system was enabled.  If so, display a summary.*/
Check if any memory has been leaked since the leak detection
system was enabled.  If so, display a summary.
Check if any memory has been leaked since the leak detection system was enabled . If so display a summary .
void checkForLeaks() {
		#ifdef ENABLE_LEAK_DETECTION
		ParamReader::finalize();
		SessionLexicon::destroy();
		Retokenizer::destroy();
		ObjectIDTable::finalize();
		runCleanupHooks();
		WordNet::deleteInstance();
		CompoundMentionFinder::deleteInstance();
		Symbol::defaultSymbolTable()->discardUnusedSymbols();
		Symbol::defaultSymbolTable()->freeAllDebugStrings();
		#endif
	}
void checkForLeaks ( ) { #ifdef ENABLE_LEAK_DETECTION ParamReader :: finalize ( ) ; SessionLexicon :: destroy ( ) ; Retokenizer :: destroy ( ) ; ObjectIDTable :: finalize ( ) ; runCleanupHooks ( ) ; WordNet :: deleteInstance ( ) ; CompoundMentionFinder :: deleteInstance ( ) ; Symbol :: defaultSymbolTable ( ) -> discardUnusedSymbols ( ) ; Symbol :: defaultSymbolTable ( ) -> freeAllDebugStrings ( ) ; #endif }
Check if any memory has been leaked since the leak detection
 system was enabled.
Check if any memory has been leaked since the leak detection system was enabled .
// Clean up static resources.
