From 13426092e9681d13acfa9eae505b20537c236340 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 29 Mar 2017 17:33:23 +0100 Subject: [PATCH] dmfilemapd: free region table at end of _update_regions() (coverity) --- daemons/dmfilemapd/dmfilemapd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/dmfilemapd/dmfilemapd.c b/daemons/dmfilemapd/dmfilemapd.c index 2fa51ee42..dd1db0344 100644 --- a/daemons/dmfilemapd/dmfilemapd.c +++ b/daemons/dmfilemapd/dmfilemapd.c @@ -687,7 +687,7 @@ static int _update_regions(struct dm_stats *dms, struct filemap_monitor *fm) fm->group_id, regions[0]); fm->group_id = regions[0]; } - + dm_free(regions); fm->nr_regions = nr_regions; return 1; }