1
0
Fork 0

x11: Initialize g_autofree with NULL

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1990>
This commit is contained in:
Dor Askayo 2021-09-04 22:53:37 +03:00
parent 264b5b825f
commit 70f2eb7bfa

View file

@ -924,7 +924,7 @@ set_workspace_work_area_hint (MetaWorkspace *workspace,
int num_monitors;
unsigned long *data;
unsigned long *tmp;
g_autofree char *workarea_name;
g_autofree char *workarea_name = NULL;
Atom workarea_atom;
monitor_manager = meta_backend_get_monitor_manager (meta_get_backend ());