mirror of
https://github.com/dynup/kpatch
synced 2025-01-02 10:42:01 +00:00
8e3ffbc8f6
reason: Firstly, in the function lookup_open use the malloc to allocate some memory, but call the function lookup_close to free the memory. Secondly, table->obj_sym->name, table->exp_sym->name and table->exp_sym->objname used the strdup, so them should free also. Thirdly, adjust the order of make_nodname, if not, it will cause an exception when free(exp_sym->objname) in lookup_close. Signed-off-by: chenzefeng <chenzefeng2@huawei.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-gcc | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |