diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-21 16:38:33 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-23 17:50:19 -0600 |
commit | a95c7daba4c74e61ac37ffaaaa0ba49bf16e474e (patch) | |
tree | d1faca1e89d74c600f07d762fdf4566a537762f0 /zlib/inffast.h | |
parent | 458412c36845f20bcfef47eef3005fb2054a7695 (diff) | |
download | gdb-a95c7daba4c74e61ac37ffaaaa0ba49bf16e474e.zip gdb-a95c7daba4c74e61ac37ffaaaa0ba49bf16e474e.tar.gz gdb-a95c7daba4c74e61ac37ffaaaa0ba49bf16e474e.tar.bz2 |
Remove a cleanup from scm-frame.c
This removes a cleanup from scm-frame.c, replacing it with
unique_xmalloc_ptr and a new scope. I believe this also fixes a
latent bug involving calling do_cleanups twice for a single cleanup.
Regression tested using the gdb.guile test suite on x86-64 Fedora 26.
ChangeLog
2018-04-23 Tom Tromey <tom@tromey.com>
* guile/scm-frame.c (gdbscm_frame_read_var): Use
gdb::unique_xmalloc_ptr.
Diffstat (limited to 'zlib/inffast.h')
0 files changed, 0 insertions, 0 deletions