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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user