diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-05-08 12:03:45 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-05-15 13:08:48 +0300 |
| commit | c36faca103a685590281412e47df74b550f71886 (patch) | |
| tree | 378eecab1042495b2d100d9bafa225e814728dd4 /scripts/checkstack.pl | |
| parent | 6d827ade51a24e18d81afb9f32756d339520a14c (diff) | |
| download | linux-c36faca103a685590281412e47df74b550f71886.tar.xz | |
crypto: safexcel - Fix potential memory leak in safexcel_pci_probe()
The memory allocated for priv in safexcel_pci_probe() is not freed in the
error paths, as well as in the PCI remove function. Fix this by using
device managed allocation.
Fixes: 625f269a5a7a ("crypto: inside-secure - add support for PCI based FPGA development board")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
