From: Ben Pfaff Date: Wed, 23 Dec 2015 07:27:45 +0000 (-0800) Subject: ovs-benchmark: Fix memory leak. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=b0656bbc1e393f5012b858611d274e031760b4bf ovs-benchmark: Fix memory leak. This leak is not a real problem. Reported-by: xushengping Reported-at: https://github.com/openvswitch/ovs/pull/100 Signed-off-by: Ben Pfaff --- diff --git a/utilities/ovs-benchmark.c b/utilities/ovs-benchmark.c index 228af6e8f..cfff4138c 100644 --- a/utilities/ovs-benchmark.c +++ b/utilities/ovs-benchmark.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2011, 2012, 2013 Nicira, Inc. + * Copyright (c) 2010, 2011, 2012, 2013, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -491,6 +491,7 @@ cmd_rate(struct ovs_cmdl_context *ctx OVS_UNUSED) } } } + free(fds); } static void