diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/systemd/sd-login.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index f8c3c6913a..0a6d6ffdaa 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -34,7 +34,9 @@ extern "C" { * Instead of returning an empty string array or empty uid array, we * may return NULL. * - * Free the data we return with libc free(). + * Free the data the library returns with libc free(). String arrays + * are NULL terminated and you need to free the array itself in + * addition to the strings contained. * * We return error codes as negative errno, kernel-style. 0 or * positive on success. |