diff options
author | Ted Percival <ted@midg3t.net> | 2009-08-21 17:05:41 -0600 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-22 01:08:39 +0200 |
commit | 17dc410e8874d38ce7a9882245360314a8251e06 (patch) | |
tree | 22b7b9a6f77d38cc63f2bf3e3d5e781d6644e218 | |
parent | 601fb63b0160d3d76083d07dcc1201a123031915 (diff) |
core: Remove wrong doc on how to free returned data
-rw-r--r-- | src/pulsecore/usergroup.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pulsecore/usergroup.c b/src/pulsecore/usergroup.c index bf686b77..71b13bca 100644 --- a/src/pulsecore/usergroup.c +++ b/src/pulsecore/usergroup.c @@ -128,7 +128,6 @@ static int expand_buffer_trashcontents(void **bufptr, size_t *buflenptr) { API is the same as getgrgid(), errors are indicated by a NULL return; consult errno for the error cause (zero it before calling). - The returned value must be freed using pa_xfree(). */ struct group *pa_getgrgid_malloc(gid_t gid) { size_t buflen, getgr_buflen; @@ -190,7 +189,6 @@ void pa_getgrgid_free(struct group *grp) { API is the same as getgrnam(), errors are indicated by a NULL return; consult errno for the error cause (zero it before calling). - The returned value must be freed using pa_xfree(). */ struct group *pa_getgrnam_malloc(const char *name) { size_t buflen, getgr_buflen; @@ -256,7 +254,6 @@ void pa_getgrnam_free(struct group *group) { API is the same as getpwnam(), errors are indicated by a NULL return; consult errno for the error cause (zero it before calling). - The returned value must be freed using pa_xfree(). */ struct passwd *pa_getpwnam_malloc(const char *name) { size_t buflen, getpw_buflen; @@ -318,7 +315,6 @@ void pa_getpwnam_free(struct passwd *passwd) { API is the same as getpwuid(), errors are indicated by a NULL return; consult errno for the error cause (zero it before calling). - The returned value must be freed using pa_xfree(). */ struct passwd *pa_getpwuid_malloc(uid_t uid) { size_t buflen, getpw_buflen; |