aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-load.c')
-rw-r--r--sim/common/sim-load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index 22fb33b..bfe3f15 100644
--- a/sim/common/sim-load.c
+++ b/sim/common/sim-load.c
@@ -166,6 +166,8 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write)
report_transfer_performance (callback, data_count, start_time, end_time);
}
+ bfd_cache_close (result_bfd);
+
return result_bfd;
}