RSP: Fix clean up log files

This commit is contained in:
zilmar 2013-02-11 19:29:14 +11:00
parent f5290c7895
commit 1ff9338e4c
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ void StartCPULog ( void )
void StopCPULog ( void )
{
if (CPULog == NULL)
if (CPULog != NULL)
{
delete CPULog;
CPULog = NULL;
@ -94,7 +94,7 @@ void StartRDPLog ( void )
void StopRDPLog ( void )
{
if (RDPLog == NULL)
if (RDPLog != NULL)
{
delete RDPLog;
RDPLog = NULL;