GNOME Bugzilla – Bug 656282
GDBusProxy: uninitialized local variables can be freed
Last modified: 2011-08-13 20:15:03 UTC
Created attachment 193547 [details] [review] patch In on_properties_changed, if PropertiesChanged is received in the creating thread's thread-default main context at the same time that another thread releases the last ref, two variables are freed (via "goto out") before being initialized.
Review of attachment 193547 [details] [review]: Not reviewer hat but it seems OK; safe change even out of its context.
Thanks. I ended up keeping the initialization separate from the declaration.