fix memory leak
add hiredis to makefile
correct an error message