Fix some valgrind miscellany

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>