mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed free()/delete[] mismatch reported by valgrind
This commit is contained in:
parent
5120f693be
commit
f9b731c92e
@ -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…
Reference in New Issue
Block a user