Fixed valgrind warning about uninitialized parameters.