* Useful for clearing passwords in memory
secret_password_remove_finish
secret_password_remove_sync
secret_password_removev_sync
+secret_password_clear
secret_password_free
-
</SECTION>
<SECTION>
egg_secure_strfree (password);
}
+
+/**
+ * secret_password_clear:
+ * @password: (allow-none): password to clear
+ *
+ * Clear the memory used by a password.
+ */
+void
+secret_password_clear (gchar *password)
+{
+ if (password == NULL)
+ return;
+
+ egg_secure_strclear (password);
+}
void secret_password_free (gchar *password);
+void secret_password_clear (gchar *password);
+
G_END_DECLS
#endif /* __SECRET_PASSWORD_H___ */