Good catch. Updated the PR.

This issue has also been reported here:
https://bugs.launchpad.net/libmemcached/+bug/1216521