bpf: fix some of the really heinous memory management problems
bpf: fix some of the really heinous memory management problems

When the new BPF implementation was merged, there were several
problems with the memory management.  This patch fixes some of the
worst problems, but further work is needed, especially to make sure
we aren't leaking memory anywhere.

Signed-off-by: Paul Moore <88a1d58bf22a647dce58dd91f9595600dceabba9@redhat.com>

amluto/libseccomp,seccomp/libseccomp,seccomp/libseccomp,amluto/libseccomp,seccomp/libseccomp,amluto/libseccomp