util_safe_free_string


Description:


[ Version ( since = "3.16" ) ]
public void util_safe_free_string (string str)

Calls g_free on string, but before it rewrites its content with zeros.

This is suitable to free strings with passwords.

Parameters:

str

a string to free


Namespace: E



2022 vala-language.org