]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elfcmp: Fix leaking Ebl handles.
authorMark Wielaard <mjw@redhat.com>
Tue, 1 Dec 2015 14:02:23 +0000 (15:02 +0100)
committerMark Wielaard <mjw@redhat.com>
Sat, 2 Jan 2016 19:37:44 +0000 (20:37 +0100)
commit095f53490bcf684a834d835ee8118f1d8ea51698
treef05a206457a1b379d208483f71a414f11adecedb
parent4e249605bb605b9bcc7e86e48d91247abd82ff5e
elfcmp: Fix leaking Ebl handles.

open_file () explicitly gets Ebl handles for both Elf files to compare.
Make sure to close those when done.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/elfcmp.c