Commit 988cea7d by Brendan Kehoe Committed by Brendan Kehoe

except.c (find_exception_handler_labels): Free LABELS when we're done.

	* except.c (find_exception_handler_labels): Free LABELS when we're
	done.

fixes memory leak

From-SVN: r15808
parent d770d3b3
1997-09-30 Brendan Kehoe <brendan@lisa.cygnus.com>
* except.c (find_exception_handler_labels): Free LABELS when we're
done.
Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com) Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for snapshot. * version.c: Bump for snapshot.
......
...@@ -1847,6 +1847,8 @@ find_exception_handler_labels () ...@@ -1847,6 +1847,8 @@ find_exception_handler_labels ()
warning ("mismatched EH region %d", NOTE_BLOCK_NUMBER (insn)); warning ("mismatched EH region %d", NOTE_BLOCK_NUMBER (insn));
} }
} }
free (labels);
} }
/* Perform sanity checking on the exception_handler_labels list. /* Perform sanity checking on the exception_handler_labels list.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment