FreeAttributes

Free all attributes contained in the attribute array, then free the array itself.  This function also explicitly writes 0xaa to the memory to be freed before freeing.

Synopsis

void FreeAttributes(
CK_ATTRIBUTE_PTR attr,
CK_COUNT attrCount);
Parameter Description
attr Attribute array to free
attrCount Number of attributes in the array