[CRIU] [PATCH 1/4] __handle_elf: rm duplicated code
Kir Kolyshkin
kir at openvz.org
Tue Dec 6 15:54:26 PST 2016
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
compel/src/lib/handle-elf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/compel/src/lib/handle-elf.c b/compel/src/lib/handle-elf.c
index ec41771..b068ada 100644
--- a/compel/src/lib/handle-elf.c
+++ b/compel/src/lib/handle-elf.c
@@ -577,8 +577,7 @@ int __handle_elf(void *mem, size_t size)
}
}
pr_out("};\n");
- free(sec_hdrs);
- return 0;
+ ret = 0;
err:
free(sec_hdrs);
return ret;
--
2.7.4
More information about the CRIU
mailing list