summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorDapeng Mi <dapeng1.mi@linux.intel.com>2025-09-19 10:16:54 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-10-02 15:30:21 -0300
commit9262fa242b73d32bd849cbcefb9b7311d2c04637 (patch)
tree0edf50c089d3d7486c57a79a474691008bb88eab /drivers/infiniband/hw/ionic/ionic_datapath.c
parentf0015d8149de3b54af04147527163422eb34ec00 (diff)
perf tools kvm: Add missed memory allocation check and free
Current code allocates rec_argv[] array, but doesn't check if the allocation is successful and explicitly free the rec_argv[] array. Add them back. 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