projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
db4741c
)
Delete useless code.
author
Toru Maesaka
<dev@torum.net>
Wed, 21 Jan 2009 06:46:05 +0000
(15:46 +0900)
committer
Toru Maesaka
<dev@torum.net>
Wed, 21 Jan 2009 06:46:05 +0000
(15:46 +0900)
libmemcached/memcached_stats.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_stats.c
b/libmemcached/memcached_stats.c
index d489052c6ecd5f2e551569bf5c672ab43d8172f3..9069bccbed6e0a74bb2cae1977b420b4e8fd10ab 100644
(file)
--- a/
libmemcached/memcached_stats.c
+++ b/
libmemcached/memcached_stats.c
@@
-348,11
+348,6
@@
memcached_stat_st *memcached_stat(memcached_st *ptr, char *args, memcached_retur
if (!stats)
{
*error= MEMCACHED_MEMORY_ALLOCATION_FAILURE;
- if (ptr->call_free)
- ptr->call_free(ptr, stats);
- else
- free(stats);
-
return NULL;
}
memset(stats, 0, sizeof(memcached_stat_st)*(ptr->number_of_hosts));