Skip to content
  • Nick Clifton's avatar
    Close memory and resource leaks detected by coverity in the binutils directory. · 3391569f
    Nick Clifton authored
    	* objcopy.c (add_specific_symbols): Free buffer on exit.
    	(add_redefine_syms_file): Close file handle on exit.
    	(copy_object): Close file handle on early exit.
    	Free buffer on early exit.
    	Free gaps buffers once they are no longer needed.
    	* dwarf.c (display_debug_frames): Free allocated memory on exit.
    	(load_separate_debug_info): Free allocate memory on early exit.
    3391569f