git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal/arm: fix file descriptor leak when getting CPU features
[dpdk.git]
/
lib
/
librte_eal
/
common
/
arch
/
arm
/
rte_cpuflags.c
diff --git
a/lib/librte_eal/common/arch/arm/rte_cpuflags.c
b/lib/librte_eal/common/arch/arm/rte_cpuflags.c
index
23240ef
..
79160a6
100644
(file)
--- a/
lib/librte_eal/common/arch/arm/rte_cpuflags.c
+++ b/
lib/librte_eal/common/arch/arm/rte_cpuflags.c
@@
-148,6
+148,7
@@
rte_cpu_get_features(hwcap_registers_t out)
out[REG_PLATFORM] = 0x0001;
}
}
+ close(auxv_fd);
}
/*