diff options
| author | Dapeng Mi <dapeng1.mi@linux.intel.com> | 2025-09-19 10:16:55 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2025-10-02 15:30:30 -0300 |
| commit | 6f58cf10457f5868ef4cd98b4de6428787b3fb2c (patch) | |
| tree | d3dfb6efd8fe2bf45b67384edd1820e732ec5c6b /drivers/infiniband/hw/ionic/ionic_datapath.c | |
| parent | 9262fa242b73d32bd849cbcefb9b7311d2c04637 (diff) | |
perf tools kwork: Add missed memory allocation check and free
Same with previous builtin-kvm code, perf_kwork__record() doesn't check
the memory allocation and explicitly free the allocated memory. Just fix
it.
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions
