GNOME Bugzilla – Bug 694732
gdk: prevent NULL pointer access when debugging is enabled
Last modified: 2013-02-26 15:29:26 UTC
The timings variable can be NULL, at least when running with the Wayland backend. This is a simple fix, but needs checking to ensure that NULL is a valid value at this point and not the result of some other issue.
Created attachment 237424 [details] [review] gdk: prevent NULL pointer access when debugging is enabled
Review of attachment 237424 [details] [review]: OK to commit. Please add the following body to the commit message. If no updates, redraws, or repaints have been scheduled for this frame, we will skip immediately to RESUME_EVENTS, and no GdkFrameTimings will be created.
Attachment 237424 [details] pushed as e972624 - gdk: prevent NULL pointer access when debugging is enabled Thanks for the explanation, I've added it to the commit as requested.