aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/fsys-get-children.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/fsys-get-children.c')
-rw-r--r--libdiskfs/fsys-get-children.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/fsys-get-children.c b/libdiskfs/fsys-get-children.c
index d9be535a..8cc4d2cd 100644
--- a/libdiskfs/fsys-get-children.c
+++ b/libdiskfs/fsys-get-children.c
@@ -63,7 +63,7 @@ diskfs_S_fsys_get_children (struct diskfs_control *fsys,
c = NULL; /* c was freed by iohelp_return_malloced_buffer. */
if (err)
{
- if (*names != *orig_names)
+ if (*names != orig_names)
munmap (*names, n_len);
goto errout;
}