Free allocated buffer in _get_split_name error path.
+Version 1.02.77 -
+=================================
+ Fix memory leak in dmsetup _get_split_name() error path.
+
Version 1.02.76 - 7th August 2012
=================================
Add dm_vasprintf to libdevmapper.
return NULL;
}
- if (!(split_name->subsystem = _extract_uuid_prefix(uuid, separator)))
+ if (!(split_name->subsystem = _extract_uuid_prefix(uuid, separator))) {
+ dm_free(split_name);
return_NULL;
+ }
split_name->vg_name = split_name->lv_name =
split_name->lv_layer = (char *) "";