mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
suppressed memory leak in serialisation test code
This commit is contained in:
parent
880eb58155
commit
764fadf0ee
@ -239,6 +239,8 @@ template<class T> int test_RsItem(uint16_t servtype)
|
|||||||
// displayRawPacket(std::cerr, (void *) buffer, 16 * 8 + sersize2);
|
// displayRawPacket(std::cerr, (void *) buffer, 16 * 8 + sersize2);
|
||||||
|
|
||||||
delete[] buffer ;
|
delete[] buffer ;
|
||||||
|
delete output ;
|
||||||
|
delete rsfis ;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user