From da42be4d8d5fa8413ffc8fb1c7ad003408cd9be5 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Mon, 12 Jul 2010 18:12:23 +0000 Subject: [PATCH] Update comments about memory handling in lvm2app.h. --- WHATS_NEW | 1 + liblvm/lvm2app.h | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 57e02ef94..b43a557d4 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.71 - =============================== + Update comments about memory handling in lvm2app.h. Add more verbose messages while checking volume_list and hosttags settings. Add log_error when strdup fails in {vg|lv}_change_tag(). Remove unnecessary includes in liblvm files. diff --git a/liblvm/lvm2app.h b/liblvm/lvm2app.h index 05f804f6f..b33e18a0a 100644 --- a/liblvm/lvm2app.h +++ b/liblvm/lvm2app.h @@ -929,8 +929,8 @@ int lvm_vg_remove_lv(lv_t lv); * * \memberof lv_t * - * Memory is allocated using dm_malloc() and caller must free the memory - * using dm_free(). + * The memory allocated for the uuid is tied to the vg_t handle and will be + * released when lvm_vg_close() is called. * * \param lv * Logical volume handle. @@ -945,8 +945,8 @@ const char *lvm_lv_get_uuid(const lv_t lv); * * \memberof lv_t * - * Memory is allocated using dm_malloc() and caller must free the memory - * using dm_free(). + * The memory allocated for the uuid is tied to the vg_t handle and will be + * released when lvm_vg_close() is called. * * \param lv * Logical volume handle.