GNOME Bugzilla – Bug 670042
attempt to free uninitialized pointer in get_timezone_cb ()
Last modified: 2012-02-20 10:22:53 UTC
In get_timezone_cb() in gnome-control-center-3.2.2's panels/datetime/cc-datetime-panel.c, if the date_time_mechanism_call_get_timezone_finish() call fails, timezone is left uninitialized, and attempting to free it at the end of get_timezone_cb() results in a crash:
+ Trace 229655
This was reported in Gentoo bugzilla as https://bugs.gentoo.org/show_bug.cgi?id=403527
Created attachment 207514 [details] [review] proposed patch
Review of attachment 207514 [details] [review]: Looks fine to me.