summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/column.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/column.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/column.c')
-rw-r--r--libsmartcols/src/column.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsmartcols/src/column.c b/libsmartcols/src/column.c
index 7ba284c6e..b3dd06ef8 100644
--- a/libsmartcols/src/column.c
+++ b/libsmartcols/src/column.c
@@ -60,7 +60,8 @@ void scols_ref_column(struct libscols_column *cl)
* scols_unref_column:
* @cl: a pointer to a struct libscols_column instance
*
- * Decreases the refcount of @cl.
+ * Decreases the refcount of @cl. When the count falls to zero, the instance
+ * is automatically deallocated.
*/
void scols_unref_column(struct libscols_column *cl)
{