Method

FwupdPluginSecureBytesfree

since: 2.1.8

Declaration [src]

void
fu_secure_bytes_free (
  FuSecureBytes* self
)

Description [src]

Clears the contents to zero before the backing buffer is unreffed.

Use this, typically via g_autoptr(FuSecureBytes), for buffers holding sensitive data such as keys, tokens or passwords so that the plaintext is not left behind in freed heap memory.

Available since: 2.1.8