kpatch/kpatch-build
Seth Jennings b95f0f53af add teardown/free functions for kpatch_elf data structures
Because create-diff-object is a one-shot program (not a long lived
process) we haven't really bothered with cleaning up and freeing any
allocated memory.  However, freeing data when it passes out of the
logical scope does have debugging benefits.

This commit adds two new functions for tearing down and freeing the
primary struct kpatch_elf data structures.  The idea is the if a stale
pointer still references the old data structure that has passed out of
the logical scope, an issue will be more immediately apparent (i.e. NULL
references).

Signed-off-by: Seth Jennings <sjenning@redhat.com>
2014-05-20 12:44:31 -05:00
..
Makefile fix review comments 2014-05-20 12:44:31 -05:00
create-diff-object.c add teardown/free functions for kpatch_elf data structures 2014-05-20 12:44:31 -05:00
kpatch-build dynrelas support, obsoleting link-vmlinux-syms 2014-05-20 12:44:31 -05:00
list.h fix list corruption in special section handlers 2014-05-15 15:27:53 -05:00
lookup.c fix review comments 2014-05-20 12:44:31 -05:00
lookup.h merge add-patches-section functionality into create-obj-diff 2014-05-20 12:44:30 -05:00