diff --git a/src/abg-ctf-reader.cc b/src/abg-ctf-reader.cc index 6829e4c0..c571d825 100644 --- a/src/abg-ctf-reader.cc +++ b/src/abg-ctf-reader.cc @@ -941,6 +941,8 @@ process_ctf_archive(read_context *ctxt, corpus_sptr corp) } if (ctf_errno(ctf_dict) != ECTF_NEXT_END) fprintf(stderr, "ERROR from ctf_symbol_next\n"); + + ctf_dict_close(ctf_dict); } if (ctf_err != ECTF_NEXT_END) fprintf(stderr, "ERROR from ctf_archive_next\n");