summaryrefslogtreecommitdiffstats
path: root/tests/funcscopes.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/funcscopes.c')
-rw-r--r--tests/funcscopes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/funcscopes.c b/tests/funcscopes.c
index 4cdb79bc..d81a36a3 100644
--- a/tests/funcscopes.c
+++ b/tests/funcscopes.c
@@ -184,5 +184,7 @@ main (int argc, char *argv[])
while ((a.cu = dwfl_nextcu (a.dwfl, a.cu, &a.dwbias)) != NULL)
dwarf_getfuncs (a.cu, &handle_function, &a, 0);
+ dwfl_end (a.dwfl);
+
return result;
}