* python/py-inferior.c (infpy_read_memory): Remove cleanups and
authorTom Tromey <tromey@redhat.com>
Wed, 28 Mar 2012 17:38:08 +0000 (17:38 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 28 Mar 2012 17:38:08 +0000 (17:38 +0000)
commitcc0265cdda9dc7e8665e8bfcf5b4477489daf27c
tree1d05afdaef9575e73736a04049a6252da37b5952
parent3ad2ec6f1106b136964a6350c8fba1ee649135bb
* python/py-inferior.c (infpy_read_memory): Remove cleanups and
explicitly free 'buffer' on exit paths.  Decref 'membuf_object'
before returning.
gdb/ChangeLog
gdb/python/py-inferior.c