[CRIU] [PATCH 1/6] dump: Drop redundant free_mappings

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 17 12:39:57 EST 2012


We will be calling it a few lines later anyway.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/cr-dump.c b/cr-dump.c
index 66f44ba..6fcd72c 100644
--- a/cr-dump.c
+++ b/cr-dump.c
@@ -1240,8 +1240,6 @@ static int dump_one_task(struct pstree_item *item, struct cr_fdset *cr_fdset)
 		goto err;
 	}
 
-	free_mappings(&vma_area_list);
-
 	ret = dump_task_threads(item);
 
 err:
-- 
1.7.7.6



More information about the CRIU mailing list