GLib.KeyFile.prototype.unref

function unref(): void {
    // Gjs wrapper for g_key_file_unref()
}
  

Decreases the reference count of key_file by 1. If the reference count reaches zero, frees the key file and all its allocated memory.

Since 2.32