From 52c00509cdf644a4b56ba332fbbda6c64c40bb2f Mon Sep 17 00:00:00 2001 From: lericson Date: Sat, 9 Oct 2010 00:53:56 +0200 Subject: [PATCH] Remove paranoid memcached_quit call --- _pylibmcmodule.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_pylibmcmodule.c b/_pylibmcmodule.c index 88f30d9..c74665e 100644 --- a/_pylibmcmodule.c +++ b/_pylibmcmodule.c @@ -455,10 +455,6 @@ static PyObject *PylibMC_Client_gets(PylibMC_Client *self, PyObject *arg) { 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 is on our stack */ memcached_result_free(&results_obj);