]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libcpu: Free unused new bitfield on error in i386_parse.y new_bitfield.
authorMark Wielaard <mark@klomp.org>
Sat, 9 May 2020 21:31:05 +0000 (23:31 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 14 May 2020 12:30:57 +0000 (14:30 +0200)
commit5d3b808238b01d27c0ee97e5415e4b6aac410781
tree028d628e2c08c8b1021d7b96761dcc43f924f6c6
parentdca13089f93807f99f447b9b033ac27a43ff913f
libcpu: Free unused new bitfield on error in i386_parse.y new_bitfield.

GCC10 -fanalyzer detected we didn't free the newly created bitfield
on error. Make sure to free it before returning.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libcpu/ChangeLog
libcpu/i386_parse.y