Author: dumindu
Date: Wed Mar 19 00:59:26 2008
New Revision: 14982
Log:
Free X509 structs with X509_free()
Modified:
trunk/solutions/identity/modules/mod-cspace/src/cspace_validator.c
Modified: trunk/solutions/identity/modules/mod-cspace/src/cspace_validator.c
==============================================================================
--- trunk/solutions/identity/modules/mod-cspace/src/cspace_validator.c
(original)
+++ trunk/solutions/identity/modules/mod-cspace/src/cspace_validator.c Wed Mar
19 00:59:26 2008
@@ -110,7 +110,7 @@
/* free the haystack */
for (j=0; j<i; j++) {
if (haystack[j]) {
- free(haystack[j]);
+ X509_free(haystack[j]);
}
}
@@ -127,7 +127,7 @@
/* free the haystack */
for (j=0; j<i; j++) {
if (haystack[j]) {
- free(haystack[j]);
+ X509_free(haystack[j]);
}
}
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev