summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2016-11-05 14:22:59 +0100
committerGitHub <noreply@github.com>2016-11-05 14:22:59 +0100
commita3810a08d5a26f3d9ff3902317d8bb0500e8837c (patch)
tree1a236d14f5ff11fb337654077cd4e08dc02fe39f
parent9156493171cf2d78e1ac1a3746c385b0e281acf1 (diff)
parent29d87223d54fc13e16f444677f0a94ed0755bd88 (diff)
Merge pull request #4579 from evverx/acl-memleak
acl-util: fix memleak
-rw-r--r--src/shared/acl-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/acl-util.c b/src/shared/acl-util.c
index 2aa951fce9..79a3b9591d 100644
--- a/src/shared/acl-util.c
+++ b/src/shared/acl-util.c
@@ -162,7 +162,7 @@ int add_base_acls_if_needed(acl_t *acl_p, const char *path) {
int acl_search_groups(const char *path, char ***ret_groups) {
_cleanup_strv_free_ char **g = NULL;
- _cleanup_(acl_free) acl_t acl = NULL;
+ _cleanup_(acl_freep) acl_t acl = NULL;
bool ret = false;
acl_entry_t entry;
int r;