summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/all
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-10-14 09:15:08 +0000
committerNick Clifton <nickc@redhat.com>2013-10-14 09:15:08 +0000
commita33afc5bcd65a1358269323aa5245973811aaa92 (patch)
tree2b40d7919847505c4e233d618ec765ed2c084fd8 /gas/testsuite/gas/all
parent350c8965a60b19d3dcd4ef728edd88c74bf8412a (diff)
downloadbinutils-redhat-a33afc5bcd65a1358269323aa5245973811aaa92.tar.gz
* gen-aout.c (main): Fix formatting. Close file.
* emultempl/aix.em (_read_file): Close file at end of function. * gas/all/itbl-test.c (main): Close fas. * read.c (add_include_dir): Use xrealloc. * config/tc-score.c (do_macro_bcmp): Initialise inst_main. * config/tc-tic6x.c (tic6x_parse_operand): Initialise second_reg. * readelf.c (decode_arm_unwind): Initialise addr structure. (process_symbol_table): Free lengths. * srcconv.c (wr_sc): Free info. * chew.c (perform): Free next.
Diffstat (limited to 'gas/testsuite/gas/all')
-rw-r--r--gas/testsuite/gas/all/itbl-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/testsuite/gas/all/itbl-test.c b/gas/testsuite/gas/all/itbl-test.c
index 38fcfc58f1..c00ff1ae87 100644
--- a/gas/testsuite/gas/all/itbl-test.c
+++ b/gas/testsuite/gas/all/itbl-test.c
@@ -1,6 +1,6 @@
/* itbl-test.c
- Copyright (C) 1997, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1997-2013 Free Software Foundation.
This file is part of GAS, the GNU Assembler.
@@ -97,6 +97,7 @@ main (int argc, char **argv)
test_reg (3, e_creg, "c2", 22);
test_reg (3, e_dreg, "d3", 3);
+ fclose (fas);
return 0;
}