Avoid manual resource management in py-framefilter.c
authorTom Tromey <tom@tromey.com>
Sun, 23 Apr 2017 17:23:43 +0000 (11:23 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 27 Mar 2018 03:57:11 +0000 (21:57 -0600)
commit7a630bc2f99fcd55ddd83274574531d526ca1925
tree974264b16c2a169620a4078926d470334f5243f1
parent63283d4a2983eaefd5d0860ddffcf946f0fe92db
Avoid manual resource management in py-framefilter.c

This patch removes the last bit of manual resource management from
py-framefilter.c.  This will be useful in the next patch.

gdb/ChangeLog
2018-03-26  Tom Tromey  <tom@tromey.com>

* python/py-framefilter.c (enumerate_args): Use
gdb::unique_xmalloc_ptr.
gdb/ChangeLog
gdb/python/py-framefilter.c