diff options
author | Anson Jacob <Anson.Jacob@amd.com> | 2021-08-14 00:11:51 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-31 21:19:00 +0300 |
commit | 03388a347fe7cf7c3bdf68b0823ba316d177d470 (patch) | |
tree | 1d10c3a28fbae14552d062a189cc88f719a93f3c /crypto | |
parent | f5d8e16488056d9ad48d2561ef4eaf7fdd11c162 (diff) | |
download | linux-03388a347fe7cf7c3bdf68b0823ba316d177d470.tar.xz |
drm/amd/display: Fix memory leak reported by coverity
Free memory allocated if any of the previous allocations failed.
>>> CID 1487129: Resource leaks (RESOURCE_LEAK)
>>> Variable "vpg" going out of scope leaks the storage it points to.
Addresses-Coverity-ID: 1487129: ("Resource leaks")
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions