diff --git a/dynso.c b/dynso.c index 6d4dcf6..0822d4f 100644 --- a/dynso.c +++ b/dynso.c @@ -395,6 +395,7 @@ enum dynso_err dynso_add_sym_ex(struct dynso_lib* f, const char* name, memcpy(nsym, f->syms, sizeof(struct dynso_sym)*f->nsyms); f->syms = nsym; + f->alloc_syms = true; } }