Contents

SecKeychainItemFreeAttributesAndData(_:_:)

Releases the memory used by the keychain attribute list and/or the keychain data retrieved in a call to SecKeychainItemCopyAttributesAndData.

Declaration

func SecKeychainItemFreeAttributesAndData(_ attrList: UnsafeMutablePointer<SecKeychainAttributeList>?, _ data: UnsafeMutableRawPointer?) -> OSStatus

Parameters

  • attrList:

    A pointer to the attribute list to release. Pass NULL if there is no attribute list to release.

  • data:

    A pointer to the data buffer to release. Pass NULL if there is no data to release.

Return Value

A result code. See Security Framework Result Codes.