summaryrefslogtreecommitdiff
path: root/curve_test.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-10-20 14:52:57 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-10-20 14:54:58 +0200
commitabafb7e1679f268fea1f5b0f911cb75fcda44857 (patch)
treeca5fe9572765ba08798343800ebc44129ff2e378 /curve_test.c
parente843d29eec50dfcad948859b545eaf529731d28e (diff)
trafgen: fix resource leaks
Fix two resource leaks in trafgen. Fixes Coverity CID 1381807 and CID 1381811. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curve_test.c')
0 files changed, 0 insertions, 0 deletions
40d3&id2=731977e97b3697454a862fec656c2561eabc0b87'>diff)
wireless: define cipher/AKM suites using a macro
The spec writes cipher/AKM suites as something like 00-0F-AC:9, but the part after the colon isn't hex, it's decimal, so that we've already had a few mistakes (in other code, or unmerged patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. Use a macro to avoid that problem. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/util/cache.h')