mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Remove misguiding if
This commit is contained in:
parent
03cc2e629d
commit
3b1606ceb9
1 changed files with 2 additions and 5 deletions
|
@ -90,14 +90,11 @@ bool RsTlvBinaryData::setBinData(const void *data, uint32_t size)
|
|||
|
||||
void RsTlvBinaryData::TlvClear()
|
||||
{
|
||||
if (bin_data)
|
||||
{
|
||||
free(bin_data);
|
||||
}
|
||||
free(bin_data);
|
||||
TlvShallowClear();
|
||||
}
|
||||
|
||||
void RsTlvBinaryData::TlvShallowClear()
|
||||
void RsTlvBinaryData::TlvShallowClear()
|
||||
{
|
||||
bin_data = NULL;
|
||||
bin_len = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue