Commit 4a157d2c authored by David Zeuthen's avatar David Zeuthen

use _destroy, not _unref for hash tables

The latter is only in glib 2.10.

Pointed out by Danny Kukawka <>.
parent 3b120787
......@@ -1045,8 +1045,8 @@ polkit_tracker_unref (PolKitTracker *pk_tracker)
if (pk_tracker->refcount > 0)
g_hash_table_unref (pk_tracker->dbus_name_to_caller);
g_hash_table_unref (pk_tracker->pid_start_time_to_caller);
g_hash_table_destroy (pk_tracker->dbus_name_to_caller);
g_hash_table_destroy (pk_tracker->pid_start_time_to_caller);
dbus_connection_unref (pk_tracker->con);
g_free (pk_tracker);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment