diff -r b5e99d8877c7 -r 0dcb073356a5 rtp/srtpstack/tsrc/ut_srtpstack/src/UT_SRTPAuthentication_NULL.cpp --- a/rtp/srtpstack/tsrc/ut_srtpstack/src/UT_SRTPAuthentication_NULL.cpp Tue Aug 31 15:32:57 2010 +0300 +++ b/rtp/srtpstack/tsrc/ut_srtpstack/src/UT_SRTPAuthentication_NULL.cpp Wed Sep 01 12:27:36 2010 +0100 @@ -98,18 +98,13 @@ 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_EightyL( ) +void UT_SRTPAuthentication_NULL::UT_AuthenticateL_RFC2202_Test1_80L( ) { HBufC8* result = iAuthenticator->AuthenticateL(80, *iRFC2202_Test1_Key_160bits, *iRFC2202_Test1_Data_16bits, @@ -155,7 +150,7 @@ "SRTPAuthentication_NULL", "AuthenticateL", "FUNCTIONALITY", - SetupL, UT_AuthenticateL_RFC2202_Test1_EightyL, Teardown) + SetupL, UT_AuthenticateL_RFC2202_Test1_80L, Teardown) EUNIT_END_TEST_TABLE