mirror of
https://github.com/dynup/kpatch
synced 2025-01-04 20:19:36 +00:00
Merge pull request #953 from kamalesh-babulal/lookup_memleak
lookup: Fix memleak in symtab_read()
This commit is contained in:
commit
bc7f34b8c5
@ -248,7 +248,6 @@ static void symtab_read(struct lookup_table *table, char *path)
|
||||
|
||||
table->obj_syms[i].value = value;
|
||||
table->obj_syms[i].size = size;
|
||||
table->obj_syms[i].name = strdup(name);
|
||||
|
||||
if (!strcmp(bind, "LOCAL")) {
|
||||
table->obj_syms[i].bind = STB_LOCAL;
|
||||
|
Loading…
Reference in New Issue
Block a user