aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2024-07-06 14:51:55 +0800
committerMichal Simek <[email protected]>2024-10-02 09:15:29 +0200
commit44ed4f90a97ff6f339e50ac01db71544e0990efc (patch)
treeed258f52b47b13013596c19776f8210a6da2556b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()
If we fail to allocate memory for cb_data by kmalloc, the memory allocation for eve_data is never freed, add the missing kfree() in the error handling path. Fixes: 05e5ba40ea7a ("driver: soc: xilinx: Add support of multiple callbacks for same event in event management driver") Signed-off-by: Gaosheng Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions