summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/flatpak-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c
index 18e66cf..f7f98da 100644
--- a/common/flatpak-utils.c
+++ b/common/flatpak-utils.c
@@ -786,7 +786,7 @@ remove_dangling_symlinks (int parent_fd,
{
gboolean ret = FALSE;
struct dirent *dent;
- GLnxDirFdIterator iter;
+ g_auto(GLnxDirFdIterator) iter = { 0 };
if (!glnx_dirfd_iterator_init_at (parent_fd, name, FALSE, &iter, error))
goto out;