summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2018-12-19 09:54:27 -0500
committerTavian Barnes <tavianator@tavianator.com>2018-12-19 09:54:27 -0500
commitefd9549576f04f4a6fc38ae0de071b25b134e48a (patch)
tree8c10e864c4b33effc35e5adc7333f0be08a7a647 /util.c
parent4238b3c8227b79692d54536e75912403e466491a (diff)
downloadbfs-efd9549576f04f4a6fc38ae0de071b25b134e48a.tar.xz
util: Don't leak an acl_t on non-POSIX.1e platforms
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index dd11e5d..ba7b75e 100644
--- a/util.c
+++ b/util.c
@@ -459,7 +459,8 @@ static bool bfs_check_acl_type(const char *path, acl_type_t type) {
break;
}
#else
- return true;
+ ret = true;
+ break;
#endif
}