tests: Store output description into correct field
We were storing the output description into the name field, which was harmless but did cause a leak. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
04cc477afa
commit
5a26809560
@ -740,7 +740,7 @@ static void
|
|||||||
output_handle_description(void *data, struct wl_output *wl_output, const char *desc)
|
output_handle_description(void *data, struct wl_output *wl_output, const char *desc)
|
||||||
{
|
{
|
||||||
struct output *output = data;
|
struct output *output = data;
|
||||||
output->name = strdup(desc);
|
output->desc = strdup(desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user