diff options
author | Nathan Scott <nathans@sgi.com> | 2003-02-10 04:53:07 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2003-02-10 04:53:07 +0000 |
commit | 11047574083dd3b068bf4350965e38cc3eda7637 (patch) | |
tree | 3ab133460d746277b50437689cb796850d400ed0 /libacl | |
parent | 3d9f23970e14d4d47078f60290e01e93261868aa (diff) | |
download | acl-11047574083dd3b068bf4350965e38cc3eda7637.tar.gz |
Merge acl userspace patches from Andreas.
Fix from Andreas - libacl memory leak.
Diffstat (limited to 'libacl')
-rw-r--r-- | libacl/acl_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libacl/acl_init.c b/libacl/acl_init.c index f271137..43133ec 100644 --- a/libacl/acl_init.c +++ b/libacl/acl_init.c @@ -39,10 +39,12 @@ __acl_init_obj(void) acl_t acl_init(int count) { + acl_obj *obj; if (count < 0) { errno = EINVAL; return NULL; } - return int2ext(__acl_init_obj()); + obj = __acl_init_obj(); + return int2ext(obj); } |