summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-14 22:41:17 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-14 22:41:30 +0200
commitee1f44bd9a63e776810a31bd8394e8d481b6c34d (patch)
tree895c3c42df84009e9e231691ccae47774f09f557
parentc1d70f7ca5eeeb3850161444028ba227f79df83e (diff)
sd-login: update header docs a bit
-rw-r--r--src/systemd/sd-login.h4
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.