Files
Tom Tromey 9de10f6d53 Change python_run_simple_file to use gdbpy_ref
This changes python_run_simple_file to use gdbpy_ref and
unique_xmalloc_ptr.  Thi fixes a latent bug in this function, where
the error path previously ran the cleanups and then referred to one of
the objects just freed.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (python_run_simple_file): Use
	unique_xmalloc_ptr, gdbpy_ref.
2017-01-10 19:13:59 -07:00
..
2017-01-10 19:13:52 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:53 -07:00
2017-01-10 19:13:41 -07:00
2017-01-10 19:13:34 -07:00
2017-01-10 19:13:42 -07:00
2017-01-10 19:13:53 -07:00
2017-01-10 19:13:29 -07:00
2017-01-10 19:13:44 -07:00
2017-01-10 19:13:45 -07:00
2017-01-10 19:13:37 -07:00
2017-01-10 19:13:50 -07:00
2017-01-10 19:13:57 -07:00