minor issues valgrind warns on
Merge pull request #36 from pantheon-systems/Mar27ValgrindFinds

minor issues valgrind warns on