diff options
| author | Ian Rogers <[email protected]> | 2021-11-07 08:54:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-11-07 15:44:53 +0000 |
| commit | e4e290791d87b95b2b1fa991e504fba89cbe2a03 (patch) | |
| tree | bc776ad604f8cd3c5cf14cec89425d0429c5fb26 /lib/zstd/common/compiler.h | |
| parent | perf tools: Use __BYTE_ORDER__ (diff) | |
| download | kernel-e4e290791d87b95b2b1fa991e504fba89cbe2a03.tar.gz kernel-e4e290791d87b95b2b1fa991e504fba89cbe2a03.zip | |
perf stat: Fix memory leak on error path
strdup() is used to deduplicate, ensure it isn't leaking an already
created string by freeing first.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions
