https://bugs.internet2.edu/jira/browse/CPPXT-55
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Tue, 16 Feb 2010 18:36:08 +0000 (18:36 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Tue, 16 Feb 2010 18:36:08 +0000 (18:36 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@720 de75baf8-a10c-0410-a50a-987c0e22f00f

xmltooling/security/impl/BasicX509Credential.cpp

index 595dc8b..fc51df8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2009 Internet2
+ *  Copyright 2001-2010 Internet2
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -343,7 +343,7 @@ void BasicX509Credential::extract()
         char* serial = BN_bn2dec(serialBN);
         if (serial) {
             m_serial = serial;
-            free(serial);
+            OPENSSL_free(serial);
         }
         BN_free(serialBN);
     }