GNOME Bugzilla – Bug 759408
Do not use uninitialized var
Last modified: 2015-12-14 13:35:15 UTC
Not only a MSVC warning, but a real bug as far as I can see
Created attachment 317308 [details] [review] patch
Review of attachment 317308 [details] [review]: Ok
Review of attachment 317308 [details] [review]: Yes, this is a typo. "app" is an iterator variable for another cycle (iterating over apps) later in this function, it should be "handler->app" in the handler cycle that iterates over handlers for an extension. Good news is that while this is a bug, it only results in g_app_info_get_all_for_type() producing duplicates in the list it returns.
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.