mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 07:29:33 -05:00
suppressed memory leak in serialisation test code
This commit is contained in:
parent
02424240a0
commit
880eb58155
@ -173,10 +173,9 @@ template<class T> int test_RsItem()
|
||||
EXPECT_TRUE(done2) ;
|
||||
EXPECT_TRUE(sersize2 == sersize);
|
||||
|
||||
// displayRawPacket(std::cerr, (void *) buffer, 16 * 8 + sersize2);
|
||||
|
||||
delete output ;
|
||||
delete[] buffer ;
|
||||
//delete rsfis;
|
||||
delete rsfis;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user