[client] fix minor compilation warning about an unused variable
[client] fix minor memory leak in getpasswd() routine caught by the test suite in valgrind mode