main: rename new_config arg of weston_wayland_backend_config_release
Rename new_config to config to follow legacy naming scheme. Signed-off-by: Benoit Gschwind <gschwind@gnu-log.net> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
68d6a6c4e7
commit
e48ab5f51b
+6
-6
@@ -1086,16 +1086,16 @@ weston_wayland_output_config_init(struct weston_wayland_backend_output_config *o
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
weston_wayland_backend_config_release(struct weston_wayland_backend_config *new_config)
|
weston_wayland_backend_config_release(struct weston_wayland_backend_config *config)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < new_config->num_outputs; ++i) {
|
for (i = 0; i < config->num_outputs; ++i) {
|
||||||
free(new_config->outputs[i].name);
|
free(config->outputs[i].name);
|
||||||
}
|
}
|
||||||
free(new_config->cursor_theme);
|
free(config->cursor_theme);
|
||||||
free(new_config->display_name);
|
free(config->display_name);
|
||||||
free(new_config->outputs);
|
free(config->outputs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user