From b68c6367078bc7e79b6630fbe87b1a96200f8fb9 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Wed, 2 Jan 2013 03:10:59 -0500 Subject: [PATCH] Fix cppcheck warning. --- clients/memcp.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/memcp.cc b/clients/memcp.cc index 1551a1d5..f59e1d8c 100644 --- 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; } -- 2.30.2