common: fix some wrong autofree uses
g_autofree an array only g_free the first element, GStrv is the string array type.
This commit is contained in:
parent
70fe645502
commit
a6acc98371
3 changed files with 6 additions and 7 deletions
|
@ -212,7 +212,7 @@ row_data_new (CcPanelCategory category,
|
|||
const gchar *id,
|
||||
const gchar *name,
|
||||
const gchar *description,
|
||||
gchar **keywords,
|
||||
const GStrv keywords,
|
||||
const gchar *icon,
|
||||
CcPanelVisibility visibility)
|
||||
{
|
||||
|
@ -928,7 +928,7 @@ cc_panel_list_add_panel (CcPanelList *self,
|
|||
const gchar *id,
|
||||
const gchar *title,
|
||||
const gchar *description,
|
||||
gchar **keywords,
|
||||
const GStrv keywords,
|
||||
const gchar *icon,
|
||||
CcPanelVisibility visibility)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue