mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
fixed free()/delete[] mismatch reported by valgrind
This commit is contained in:
parent
5120f693be
commit
f9b731c92e
1 changed files with 1 additions and 1 deletions
|
@ -1553,7 +1553,7 @@ std::string p3Peers::GetRetroshareInvite(
|
|||
}
|
||||
|
||||
RsCertificate cert(detail, mem_block, mem_block_size);
|
||||
delete[] mem_block;
|
||||
free(mem_block);
|
||||
|
||||
return cert.toStdString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue