projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
add single letter command line options
[m6w6/libmemcached]
/
lib
/
memcached.c
diff --git
a/lib/memcached.c
b/lib/memcached.c
index 3cbac0b274fb54c6b803eef10ab3043527e39643..6a7715de06cfac8251c7d56a049a1bc5717cb525 100644
(file)
--- a/
lib/memcached.c
+++ b/
lib/memcached.c
@@
-35,8
+35,7
@@
void memcached_deinit(memcached_st *ptr)
if (ptr->hosts[x].fd > 0)
close(ptr->hosts[x].fd);
- if (ptr->hosts[x].hostname)
- free(ptr->hosts[x].hostname);
+ free(ptr->hosts[x].hostname);
}
free(ptr->hosts);