summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/table.c
diff options
context:
space:
mode:
authorKarel Zak2014-06-30 14:14:34 +0200
committerKarel Zak2014-06-30 14:14:34 +0200
commit3175f0355269ee558d8ca1f21b429a4beb04033b (patch)
tree50e407fb75de2471f1fafc40f125c4a7516c5199 /libsmartcols/src/table.c
parentswapon: mark --sumarry as deprecated (diff)
downloadkernel-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/table.c')
-rw-r--r--libsmartcols/src/table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 53590038a..8c404f858 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -77,7 +77,8 @@ void scols_ref_table(struct libscols_table *tb)
* scols_unref_table:
* @tb: a pointer to a struct libscols_table instance
*
- * Decreases the refcount of @tb.
+ * Decreases the refcount of @tb. When the count falls to zero, the instance
+ * is automatically deallocated.
*/
void scols_unref_table(struct libscols_table *tb)
{