coverity#1209781 Resource leak
We should free pTV_modify when we're done with it. Change-Id: I7eaf64df2f7bdf6bd899d3a31cad499c4066c990
This commit is contained in:
@@ -1868,6 +1868,7 @@ namespace osl_FileStatus
|
|||||||
//delete file
|
//delete file
|
||||||
deleteTestFile( aTypeURL );
|
deleteTestFile( aTypeURL );
|
||||||
free( pTV_current );
|
free( pTV_current );
|
||||||
|
free( pTV_modify );
|
||||||
|
|
||||||
CPPUNIT_ASSERT_MESSAGE( "test for getModifyTime function: This test turns out that UNX pricision is no more than 1 sec, don't know how to improve this function. ",
|
CPPUNIT_ASSERT_MESSAGE( "test for getModifyTime function: This test turns out that UNX pricision is no more than 1 sec, don't know how to improve this function. ",
|
||||||
bOK );
|
bOK );
|
||||||
|
Reference in New Issue
Block a user