summaryrefslogtreecommitdiff
path: root/src/portal
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2021-03-20 13:28:26 +0100
committerCarlos Garnacho <carlosg@gnome.org>2021-03-26 12:20:59 +0100
commit6653d1659d173ec6384cecf7b0089d35abe82926 (patch)
tree805677ca672270fda8266de5cb68f36bf90d963a /src/portal
parent143f1bb1d26d8bf75463a162d22a1034bb42ba8d (diff)
downloadtracker-6653d1659d173ec6384cecf7b0089d35abe82926.tar.gz
portal: "Plug" leak
Coverity complains here, even though there's no paths that inner_error is set but not used. Mark it as autoptr, so it's more consistent and makes Coverity shut up here. CID: #1501149
Diffstat (limited to 'src/portal')
-rw-r--r--src/portal/tracker-portal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portal/tracker-portal.c b/src/portal/tracker-portal.c
index 3b041603f..1fdb48087 100644
--- a/src/portal/tracker-portal.c
+++ b/src/portal/tracker-portal.c
@@ -213,7 +213,7 @@ load_client_configuration (TrackerPortal *portal,
GError **error)
{
g_autoptr (GKeyFile) flatpak_info = NULL;
- GError *inner_error = NULL;
+ g_autoptr(GError) inner_error = NULL;
GStrv graphs;
if (portal->test_flatpak_info) {