mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
coverity: fix double free
Do not try to free hist_arg twice.
This commit is contained in:
parent
a7d2ee4bc2
commit
416f951283
@ -4725,7 +4725,7 @@ static uint64_t *_stats_map_file_regions(struct dm_stats *dms, int fd,
|
|||||||
|
|
||||||
dm_pool_free(extent_mem, extents);
|
dm_pool_free(extent_mem, extents);
|
||||||
dm_pool_destroy(extent_mem);
|
dm_pool_destroy(extent_mem);
|
||||||
dm_free(hist_arg);
|
|
||||||
return regions;
|
return regions;
|
||||||
|
|
||||||
out_remove:
|
out_remove:
|
||||||
|
Loading…
Reference in New Issue
Block a user