mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
tuxtxt.cpp fix possible memleak
This commit is contained in:
@@ -6173,5 +6173,9 @@ int GetRCCode()
|
|||||||
RCCode = msg;
|
RCCode = msg;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( ( msg>= CRCInput::RC_WithData ) && ( msg< CRCInput::RC_WithData+ 0x10000000 ) )
|
||||||
|
delete[] (unsigned char*) data;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user