Replace xmalloc/xfree with vector in jit.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 12 Dec 2019 19:54:47 +0000 (14:54 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 12 Dec 2019 19:54:47 +0000 (14:54 -0500)
commit7190276c52b9d86a52aae73d3a0f8b56e7a1f4f1
treeb08bc114ee4318c14995078880e10063d8a592ad
parentd61df89700bcf1633ca9db0ea403c2108c3cac3e
Replace xmalloc/xfree with vector in jit.c

I'm currently studying that code and noticed this manual memory
management, which could easily be replaced with a vector, so here it is.

gdb/ChangeLog:

* jit.c (jit_reader_try_read_symtab): Replace xmalloc/xfree with
gdb::byte_vector.
gdb/ChangeLog
gdb/jit.c
This page took 0.024285 seconds and 4 git commands to generate.