trivial: fix a compile error which wasn't detected and kept crashing polkitd
This commit is contained in:
parent
186ed2b087
commit
cb39aa3741
@ -188,6 +188,7 @@ libpackagekit_action_lookup_la_CFLAGS = \
|
||||
-DPOLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE \
|
||||
-DG_LOG_DOMAIN=\"PackageKit-Action-Lookup\" \
|
||||
$(POLKIT_BACKEND_1_CFLAGS) \
|
||||
$(WARNINGFLAGS_C) \
|
||||
$(NULL)
|
||||
|
||||
libpackagekit_action_lookup_la_LDFLAGS = \
|
||||
|
@ -292,7 +292,7 @@ pk_action_lookup_package_ids_to_string (gchar **package_ids)
|
||||
names_str = g_strdup (split[PK_PACKAGE_ID_NAME]);
|
||||
}
|
||||
g_ptr_array_add (array, names_str);
|
||||
g_strfree (split);
|
||||
g_strfreev (split);
|
||||
}
|
||||
|
||||
/* create string */
|
||||
|
Loading…
Reference in New Issue
Block a user