X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fsim-load.c;h=bfe3f15c4bde25624457029ebd4626b514b26a2a;hb=1029b7fa6a31d4cbb42e8d14c67ff4fdbbd4bd8c;hp=22fb33b777b6201d1c5588b69165d31d67d3023b;hpb=abd8680d6efd97e7ba848a6392ee3ad72be18cd0;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index 22fb33b777..bfe3f15c4b 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; }