Remove misguiding if

This commit is contained in:
Gioacchino Mazzurco 2017-07-24 11:52:23 +02:00
parent 03cc2e629d
commit 3b1606ceb9

View File

@ -89,11 +89,8 @@ bool RsTlvBinaryData::setBinData(const void *data, uint32_t size)
} }
void RsTlvBinaryData::TlvClear() void RsTlvBinaryData::TlvClear()
{
if (bin_data)
{ {
free(bin_data); free(bin_data);
}
TlvShallowClear(); TlvShallowClear();
} }