]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
readelf: fix sframe memory leak
authorAlan Modra <amodra@gmail.com>
Wed, 11 Feb 2026 05:01:52 +0000 (15:31 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Feb 2026 05:01:52 +0000 (15:31 +1030)
commit1875c1ac7507106289846a56805f05ab8efc854c
tree3bcce8e7405f3331f7b16382476dcdaf0e28c4c1
parent3949fb481a6739dc1f4dc5fad09d7646c90af3d2
readelf: fix sframe memory leak

Not a significant leak, but there is no need for this strdup.

* readelf (parse_args): Don't strdup ".sframe" passed to
request_dump_byname.
binutils/readelf.c