Solution for cases where next has been set to NULL.
Solution for cases where next has been set to NULL.

tony2001/libmemcached,tony2001/libmemcached,mckelvin/libmemcached,mckelvin/libmemcached,mckelvin/libmemcached,tony2001/libmemcached