diff -r 307788aac0a8 -r 8248b03a2669 rtp/srtpstack/tsrc/ut_srtpstack/src/UT_SRTPAuthentication_NULL.cpp --- a/rtp/srtpstack/tsrc/ut_srtpstack/src/UT_SRTPAuthentication_NULL.cpp Tue Feb 02 01:03:15 2010 +0200 +++ b/rtp/srtpstack/tsrc/ut_srtpstack/src/UT_SRTPAuthentication_NULL.cpp Fri Apr 16 15:18:54 2010 +0300 @@ -98,13 +98,18 @@ void UT_SRTPAuthentication_NULL::Teardown( ) { delete iAuthenticator; - + iAuthenticator = NULL; + delete iRFC2202_Test1_Key_160bits; delete iRFC2202_Test1_Data_16bits; delete iRFC2202_Test1_Tag_80bits; + + iRFC2202_Test1_Key_160bits = NULL; + iRFC2202_Test1_Data_16bits = NULL; + iRFC2202_Test1_Tag_80bits = NULL; } -void UT_SRTPAuthentication_NULL::UT_AuthenticateL_RFC2202_Test1_80L( ) +void UT_SRTPAuthentication_NULL::UT_AuthenticateL_RFC2202_Test1_EightyL( ) { HBufC8* result = iAuthenticator->AuthenticateL(80, *iRFC2202_Test1_Key_160bits, *iRFC2202_Test1_Data_16bits, @@ -150,7 +155,7 @@ "SRTPAuthentication_NULL", "AuthenticateL", "FUNCTIONALITY", - SetupL, UT_AuthenticateL_RFC2202_Test1_80L, Teardown) + SetupL, UT_AuthenticateL_RFC2202_Test1_EightyL, Teardown) EUNIT_END_TEST_TABLE