diff options
author | Karel Zak | 2014-06-30 14:14:34 +0200 |
---|---|---|
committer | Karel Zak | 2014-06-30 14:14:34 +0200 |
commit | 3175f0355269ee558d8ca1f21b429a4beb04033b (patch) | |
tree | 50e407fb75de2471f1fafc40f125c4a7516c5199 /libsmartcols/src/line.c | |
parent | swapon: mark --sumarry as deprecated (diff) | |
download | kernel-qcow2-util-linux-3175f0355269ee558d8ca1f21b429a4beb04033b.tar.gz kernel-qcow2-util-linux-3175f0355269ee558d8ca1f21b429a4beb04033b.tar.xz kernel-qcow2-util-linux-3175f0355269ee558d8ca1f21b429a4beb04033b.zip |
libsmartcols: add note about deallocations
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/line.c')
-rw-r--r-- | libsmartcols/src/line.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c index 0ed765dcd..ab2f191b3 100644 --- a/libsmartcols/src/line.c +++ b/libsmartcols/src/line.c @@ -66,7 +66,8 @@ void scols_ref_line(struct libscols_line *ln) * scols_unref_line: * @ln: a pointer to a struct libscols_line instance * - * Decreases the refcount of @ln. + * Decreases the refcount of @ln. When the count falls to zero, the instance + * is automatically deallocated. */ void scols_unref_line(struct libscols_line *ln) { |