Fixed various memory leaks and enabled memory tracking for debug builds.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@571 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-13 21:13:24 +00:00
parent 8ee3ed8699
commit f5aa2e1a0d
10 changed files with 59 additions and 45 deletions

View File

@@ -3387,11 +3387,16 @@ FLMINT FlmFileSysCommand::execute(
Exit:
if (pDir)
if( pDir)
{
pDir->Release();
}
if( pFileSystem)
{
pFileSystem->Release();
}
if( RC_BAD( rc))
{
pShell->con_printf( "\nError: %e\n", rc);