forked from pool/openCryptoki
26 lines
756 B
Diff
26 lines
756 B
Diff
Index: ./usr/lib/pkcs11/ica_s390_stdll/ica_specific.c
|
|
===================================================================
|
|
RCS file: /cvsroot/opencryptoki/opencryptoki/usr/lib/pkcs11/ica_s390_stdll/ica_specific.c,v
|
|
retrieving revision 1.6
|
|
diff -a -u -r1.6 ica_specific.c
|
|
--- ./usr/lib/pkcs11/ica_s390_stdll/ica_specific.c 4 Jan 2006 15:05:50 -0000 1.6
|
|
+++ ./usr/lib/pkcs11/ica_s390_stdll/ica_specific.c 31 Jan 2006 17:06:13 -0000
|
|
@@ -2050,6 +2050,7 @@
|
|
int rc = CKR_OK;
|
|
struct mech_list_item head;
|
|
struct mech_list_item *walker;
|
|
+ head.next = NULL;
|
|
#if 1
|
|
rc = ock_generic_get_mechanism_list(pMechanismList, pulCount);
|
|
if (rc != CKR_OK) {
|
|
@@ -2090,7 +2091,8 @@
|
|
walker = next;
|
|
}
|
|
#endif
|
|
- out:
|
|
+out:
|
|
+ free_mech_list(&head);
|
|
return rc;
|
|
}
|
|
|