diff options
Diffstat (limited to 'tests/vdsosyms.c')
-rw-r--r-- | tests/vdsosyms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/vdsosyms.c b/tests/vdsosyms.c index 7bfa7381..83ab034f 100644 --- a/tests/vdsosyms.c +++ b/tests/vdsosyms.c @@ -103,6 +103,8 @@ main (int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))) if (dwfl_getmodules (dwfl, module_callback, NULL, 0) != 0) error (1, 0, "dwfl_getmodules: %s", dwfl_errmsg (-1)); + dwfl_end (dwfl); + /* No symbols is ok, then we haven't seen the vdso at all on this arch. */ return vdso_syms >= 0 ? 0 : -1; } |