https://issues.shibboleth.net/jira/browse/CPPXT-55
authorScott Cantor <cantor.2@osu.edu>
Tue, 16 Feb 2010 18:36:08 +0000 (18:36 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 16 Feb 2010 18:36:08 +0000 (18:36 +0000)
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);
     }