fix(tests/shared/env): memory leak
This commit is contained in:
parent
b42e561bb1
commit
2926b41e9f
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ void print_decl_name_and_del(lean_decl d) {
|
|||
check(lean_decl_get_name(d, &n, &ex));
|
||||
check(lean_name_to_string(n, &s, &ex));
|
||||
printf("declaration name: %s\n", s);
|
||||
lean_name_del(n);
|
||||
lean_string_del(s);
|
||||
lean_decl_del(d);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue