Beispiel #1
0
RTPDebug::~RTPDebug()
{
	if (log)
	{
		if (first != NULL)
			DumpLeaks();
		else
		{
			if (dbgfile)
				fprintf(dbgfile,"No memory leaks found\n");
		}
		if (dbgfile)
			fclose(dbgfile);
	}
}
Beispiel #2
0
MemoryTracker::~MemoryTracker() {
	DumpStats();
	DumpLeaks();
}