projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Found bug in multi get where key size was not being calculated.
[m6w6/libmemcached]
/
lib
/
memcached_hosts.c
diff --git
a/lib/memcached_hosts.c
b/lib/memcached_hosts.c
index ad7ed06b668585b96df7d67d68aad999eb6a43f9..64892212009361da7d5b47ac37acd8e5acf984fd 100644
(file)
--- a/
lib/memcached_hosts.c
+++ b/
lib/memcached_hosts.c
@@
-147,12
+147,7
@@
void memcached_server_list_free(memcached_server_st *ptr)
unsigned int x;
for (x= 0; ptr[x].hostname; x++)
unsigned int x;
for (x= 0; ptr[x].hostname; x++)
- {
- if (ptr[x].fd > 0)
- close(ptr[x].fd);
-
free(ptr[x].hostname);
free(ptr[x].hostname);
- }
free(ptr);
}
free(ptr);
}