[gnome-software/1241-crash-under-get_renamed_component] flatpak: Correct typo in a search string in get_renamed_component()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1241-crash-under-get_renamed_component] flatpak: Correct typo in a search string in get_renamed_component()
- Date: Mon, 3 May 2021 13:32:53 +0000 (UTC)
commit 2037ffb1e420b04fc81ecfdba0cffe17cc9446bf
Author: Milan Crha <mcrha redhat com>
Date: Mon May 3 15:30:37 2021 +0200
flatpak: Correct typo in a search string in get_renamed_component()
Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1241
plugins/flatpak/gs-flatpak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 1d2b9bedc..1dcb8904a 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2800,7 +2800,7 @@ get_renamed_component (GsFlatpak *self,
return NULL;
#if LIBXMLB_CHECK_VERSION(0, 3, 0)
- query = xb_silo_lookup_query (silo,
"components[@origin=?/component/bundle[@type='flatpak'][text()=?]/..");
+ query = xb_silo_lookup_query (silo,
"components[@origin=?]/component/bundle[@type='flatpak'][text()=?]/..");
xb_value_bindings_bind_str (xb_query_context_get_bindings (&context), 0, origin, NULL);
xb_value_bindings_bind_str (xb_query_context_get_bindings (&context), 1, renamed_to, NULL);
component = xb_silo_query_first_with_context (silo, query, &context, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]