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:
0e00f21
)
Fix cppcheck warning.
author
Brian Aker
<brian@tangent.org>
Wed, 2 Jan 2013 08:10:59 +0000
(
03:10
-0500)
committer
Brian Aker
<brian@tangent.org>
Wed, 2 Jan 2013 08:10:59 +0000
(
03:10
-0500)
clients/memcp.cc
patch
|
blob
|
history
diff --git
a/clients/memcp.cc
b/clients/memcp.cc
index 1551a1d50b3109d338a5d5c9ab0800b3de6f6ac9..f59e1d8c093f70df8eacae0954694911cbc963ad 100644
(file)
--- a/
clients/memcp.cc
+++ b/
clients/memcp.cc
@@
-250,6
+250,7
@@
int main(int argc, char *argv[])
if (memcached_failed(rc))
{
std::cerr << "Error occrrured during memcached_set(): " << memcached_last_error_message(memc) << std::endl;
+ ::close(fd);
exit_code= EXIT_FAILURE;
}