Remove paranoid memcached_quit call

This commit is contained in:
lericson 2010-10-09 00:53:56 +02:00
parent 8186f9f009
commit 52c00509cd

View File

@ -455,10 +455,6 @@ static PyObject *PylibMC_Client_gets(PylibMC_Client *self, PyObject *arg) {
return PylibMC_ErrFromMemcached(self, "memcached_gets", rc); return PylibMC_ErrFromMemcached(self, "memcached_gets", rc);
} }
/* reset cursor if mget for some reason returned more than one result.
this should be a no-op otherwise. */
memcached_quit(self->mc);
/* deallocate any indirect buffers, even though the struct itself /* deallocate any indirect buffers, even though the struct itself
is on our stack */ is on our stack */
memcached_result_free(&results_obj); memcached_result_free(&results_obj);