LVM2/lib/cache lvmcache.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-04-21 13:15:26
Modified files:
lib/cache : lvmcache.c
Log message:
Skip check for NULL before dm_free
dm_free makes this test itself.
lib/cache/lvmcache.c +2 -5
@@ -857,11 +857,8 @@ }while ((vginfo2 = vginfo2->next)); -if (vginfo->vgname) -dm_free (vginfo->vgname); - -if (vginfo->creation_host) -dm_free (vginfo->creation_host); +dm_free (vginfo->vgname); +dm_free (vginfo->creation_host);if (*vginfo->vgid && _vgid_hash &&vginfo_from_vgid (vginfo->vgid) == vginfo)