secureswitools/swisistools/source/signsislib/sissignature.cpp
changeset 60 245df5276b97
parent 0 ba25891c3a9e
child 81 42552535c1ac
--- a/secureswitools/swisistools/source/signsislib/sissignature.cpp	Tue Jul 06 14:23:31 2010 +0300
+++ b/secureswitools/swisistools/source/signsislib/sissignature.cpp	Wed Aug 18 09:55:45 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