diff -up gnome-panel-2.22.0/applets/clock/set-timezone.c.can-do-crash gnome-panel-2.22.0/applets/clock/set-timezone.c
--- gnome-panel-2.22.0/applets/clock/set-timezone.c.can-do-crash 2008-04-02 17:13:46.000000000 -0400
+++ gnome-panel-2.22.0/applets/clock/set-timezone.c 2008-04-02 17:13:56.000000000 -0400
@@ -139,6 +139,9 @@ can_do (const gchar *pk_action_id)
DBusError dbus_error;
gint res = 0;
+ pk_caller = NULL;
+ pk_action = NULL;
+
system_bus = dbus_g_connection_get_connection (get_system_bus ());
if (system_bus == NULL)
goto out;
@@ -147,9 +150,6 @@ can_do (const gchar *pk_action_id)
if (pk_context == NULL)
goto out;
- pk_caller = NULL;
- pk_action = NULL;
-
pk_action = polkit_action_new ();
polkit_action_set_action_id (pk_action, pk_action_id);