mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
pvscan: free unused device_id
Fix memleak in function.
This commit is contained in:
parent
8f091d3798
commit
edd6d84159
@ -1441,6 +1441,8 @@ static void _warn_excluded_root(struct cmd_context *cmd, struct device *dev)
|
||||
|
||||
log_warn("WARNING: no autoactivation for %s: system.devices %s current %s.",
|
||||
dev_name(dev), du->idname, cur_idname ?: "missing device id");
|
||||
|
||||
free((void*) cur_idname);
|
||||
}
|
||||
|
||||
static int _pvscan_cache_args(struct cmd_context *cmd, int argc, char **argv,
|
||||
|
Loading…
Reference in New Issue
Block a user