]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: Fix memory leaks in gen-sframe.c
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 11 Apr 2024 11:26:34 +0000 (04:26 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 12 Apr 2024 10:55:33 +0000 (03:55 -0700)
commit3d67591c6ff0443e36cbc38ece082cc240e87bf6
tree7c3a1244030c3e274ddfb5187275ae967552b6bb
parent8bad8d5133f3f91c287e63f8046f040fc4d881e8
gas: Fix memory leaks in gen-sframe.c

* gen-sframe.c (sframe_xlate_ctx_cleanup): Call XDELETE on
xlate_ctx->cur_fre.
(create_sframe_all): Call XDELETE on xlate_ctx after use.
gas/gen-sframe.c