summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/src/label.c')
-rw-r--r--libfdisk/src/label.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c
index 12ad1dc30..a12bc838e 100644
--- a/libfdisk/src/label.c
+++ b/libfdisk/src/label.c
@@ -10,7 +10,9 @@
* The fdisk_new_context() initializes all label drivers, and allocate
* per-label specific data struct. This concept allows to store label specific
* settings to the label driver independently on the currently active label
- * driver.
+ * driver. Note that lable struct cannot be deallocated, so there is no
+ * reference counting for fdisk_label objects. All is destroyed by
+ * fdisk_unref_context() only.
*
* Anyway, all label drives share in-memory first sector. The function
* fdisk_create_disklabel() overwrites the sector. But it's possible that