oci: Fix leak

This commit is contained in:
Alexander Larsson
2019-12-19 17:42:32 +01:00
parent 0af22af913
commit 883f4bf177

View File

@@ -2606,7 +2606,7 @@ clean_unused_icons_recurse (int icons_dfd,
GCancellable *cancellable,
GError **error)
{
GLnxDirFdIterator iter = { 0, };
g_auto(GLnxDirFdIterator) iter = { 0, };
gboolean any_found = FALSE;
if (!glnx_dirfd_iterator_init_at (icons_dfd,