trivial: fix a compile error which wasn't detected and kept crashing polkitd

This commit is contained in:
Richard Hughes 2009-09-10 11:59:16 +01:00
parent 186ed2b087
commit cb39aa3741
2 changed files with 2 additions and 1 deletions

View File

@ -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 = \

View File

@ -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 */