summaryrefslogtreecommitdiff
path: root/doc/guides/prog_guide/metrics_lib.rst
diff options
context:
space:
mode:
authorLi Qiang <liq3ea@163.com>2019-04-16 13:05:14 +0800
committerThomas Monjalon <thomas@monjalon.net>2019-05-02 23:48:37 +0200
commit194a83d837472a27030e55af95b1103c90c2c63a (patch)
tree74b0fd24eb587a9ec0a9dfb3c1fc2055fe6b6752 /doc/guides/prog_guide/metrics_lib.rst
parent5ca606ea484546c733bb04f301283b1ffef8922c (diff)
downloaddpdk-194a83d837472a27030e55af95b1103c90c2c63a.zip
dpdk-194a83d837472a27030e55af95b1103c90c2c63a.tar.gz
dpdk-194a83d837472a27030e55af95b1103c90c2c63a.tar.xz
raw/ifpga: fix file descriptor leak in error path
In rte_fpga_do_pr() function, if 'stat' return error the 'file_fd' is never closed thus leading a fd leak. This patch avoids this. Coverity issue: 279441 Fixes: ef1e8ede3da59e ("raw/ifpga: add Intel FPGA bus rawdev driver") Cc: stable@dpdk.org Signed-off-by: Li Qiang <liq3ea@163.com> Acked-by: Rosen Xu <rosen.xu@intel.com>
Diffstat (limited to 'doc/guides/prog_guide/metrics_lib.rst')
0 files changed, 0 insertions, 0 deletions