mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 00:19:30 -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(done2) ;
|
||||||
EXPECT_TRUE(sersize2 == sersize);
|
EXPECT_TRUE(sersize2 == sersize);
|
||||||
|
|
||||||
// displayRawPacket(std::cerr, (void *) buffer, 16 * 8 + sersize2);
|
delete output ;
|
||||||
|
|
||||||
delete[] buffer ;
|
delete[] buffer ;
|
||||||
//delete rsfis;
|
delete rsfis;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user