diff -r cd189dac02f7 -r 5cc91383ab1e secureswitools/swisistools/source/signsislib/sissignature.cpp --- a/secureswitools/swisistools/source/signsislib/sissignature.cpp Thu Jul 15 18:47:04 2010 +0300 +++ b/secureswitools/swisistools/source/signsislib/sissignature.cpp Thu Aug 19 10:02:49 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of the License "Eclipse Public License v1.0" @@ -427,6 +427,7 @@ std::cout << ERR_error_string (ERR_get_error (), NULL); } BIO_free(mem); + mem = NULL; RSA_free (rsa); } else @@ -451,6 +452,7 @@ { std::cout << ERR_error_string (ERR_get_error (), NULL); BIO_free(mem); + mem = NULL; DSA_free (dsa); } else