1
0
Fork 0

renderer-native: Fix GObjectify oversight

This was forgotten in eb14da3874, triggering crashes.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1510
This commit is contained in:
Robert Mader 2020-10-18 11:22:31 +02:00
parent bc41a88c92
commit b2f2050b95

View file

@ -1253,7 +1253,7 @@ dummy_power_save_page_flip_cb (gpointer user_data)
g_list_foreach (renderer_native->power_save_page_flip_onscreens,
(GFunc) dummy_power_save_page_flip, NULL);
g_list_free_full (renderer_native->power_save_page_flip_onscreens,
(GDestroyNotify) cogl_object_unref);
g_object_unref);
renderer_native->power_save_page_flip_onscreens = NULL;
renderer_native->power_save_page_flip_source_id = 0;