fix minor valgrind read error
Merge pull request #58 from hspak/master

Fix minor valgrind read error