projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Minor cleanup in confirming socket close.
[awesomized/libmemcached]
/
tests
/
libmemcached-1.0
/
pool.cc
diff --git
a/tests/libmemcached-1.0/pool.cc
b/tests/libmemcached-1.0/pool.cc
index 30cc9660a06e7ad1c244d50c01c1ee7464170d1a..050d29277112287fbbab367535af463c8bd718e2 100644
(file)
--- a/
tests/libmemcached-1.0/pool.cc
+++ b/
tests/libmemcached-1.0/pool.cc
@@
-504,15
+504,9
@@
test_return_t regression_bug_962815(memcached_st *memc)
test_compare(0, pthread_join(pid[x], NULL));
}
- if (pool)
- {
- memcached_pool_destroy(pool);
- }
+ memcached_pool_destroy(pool);
- if (master)
- {
- memcached_free(master);
- }
+ memcached_free(master);
return TEST_SUCCESS;
}