mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-13 23:13:49 -04:00
PVS studio static analyzer fixes (2)
This commit is contained in:
@@ -308,11 +308,6 @@ int RTPPacket::BuildPacket(
|
||||
if (buffer == 0)
|
||||
{
|
||||
packet = new uint8_t[packetlength];
|
||||
if (packet == 0)
|
||||
{
|
||||
packetlength = 0;
|
||||
return ERR_RTP_OUTOFMEM;
|
||||
}
|
||||
externalbuffer = false;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user