checkpolicy: Free allocated memory when clean up / exit.

Number of error paths and failures do not clean up memory.  Try to make
it better.

Signed-off-by: Eric Paris <eparis@redhat.com>
1 file changed