tuxtxt.cpp fix possible memleak

This commit is contained in:
Jacek Jendrzej
2019-04-05 12:29:08 +02:00
parent 86fc8b079a
commit e4b7bfef93

View File

@@ -6173,5 +6173,9 @@ int GetRCCode()
RCCode = msg;
return 1;
}
if( ( msg>= CRCInput::RC_WithData ) && ( msg< CRCInput::RC_WithData+ 0x10000000 ) )
delete[] (unsigned char*) data;
return 0;
}