diff --git a/hook/table.c b/hook/table.c index 04afadb..a6a20d6 100644 --- a/hook/table.c +++ b/hook/table.c @@ -93,7 +93,7 @@ static void hook_table_apply_to_iid( sym = &syms[j]; if (hook_table_match_proc(&iate, sym)) { - if (sym->link != NULL) { + if (sym->link != NULL && *sym->link == NULL) { *sym->link = *iate.ppointer; }