KeyFile.free

Clears all keys and groups from key_file, and decreases the reference count by 1. If the reference count reaches zero, frees the key file and all its allocated memory. Since 2.6

class KeyFile
void
free
()

Meta