summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-12-19 21:31:23 +0000
committerRichard Hughes <richard@hughsie.com>2017-12-19 21:31:23 +0000
commite0a124723369d222277adb4f15b68ba44feb8c2c (patch)
tree0fbd31f722d7ffbe99f10917b0ae24460e040c81 /libappstream-glib/as-app.c
parentcb98df0b008a5a1ccb4cdfa5e1ed945dc6c24d03 (diff)
downloadappstream-glib-e0a124723369d222277adb4f15b68ba44feb8c2c.tar.gz
trivial: Fix regression when parsing XML AppData files
Diffstat (limited to 'libappstream-glib/as-app.c')
-rw-r--r--libappstream-glib/as-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 4fbf588..78f4218 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -6156,7 +6156,7 @@ as_app_parse_appdata_file (AsApp *app,
return FALSE;
}
data = g_bytes_new_take (g_steal_pointer (&data_raw), len);
- if (!as_app_parse_data (app, data, flags, error)) {
+ if (!as_app_parse_data (app, data, flags, &error_local)) {
g_set_error (error,
AS_APP_ERROR,
AS_APP_ERROR_INVALID_TYPE,