Commit 54fdd633 authored by Marco Trevisan's avatar Marco Trevisan 🎺

input-mapper: Use g_auto to free a string array

!435
parent 29ed84e9
Pipeline #58294 passed with stages
in 6 minutes and 57 seconds
......@@ -250,7 +250,7 @@ match_edid (MetaMapperInputInfo *input,
else
{
int i;
char **split;
g_auto (GStrv) split = NULL;
split = g_strsplit (meta_monitor_get_product (monitor), " ", -1);
......@@ -262,8 +262,6 @@ match_edid (MetaMapperInputInfo *input,
break;
}
}
g_strfreev (split);
}
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment