diff options
Diffstat (limited to 'libnetfs/fsys-get-children.c')
-rw-r--r-- | libnetfs/fsys-get-children.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/fsys-get-children.c b/libnetfs/fsys-get-children.c index 4e78a8ca..9c5a8f95 100644 --- a/libnetfs/fsys-get-children.c +++ b/libnetfs/fsys-get-children.c @@ -63,7 +63,7 @@ netfs_S_fsys_get_children (struct netfs_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; } |