diff options
author | Anson Jacob <[email protected]> | 2021-08-13 17:11:51 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-08-31 14:19:00 -0400 |
commit | 03388a347fe7cf7c3bdf68b0823ba316d177d470 (patch) | |
tree | 1d10c3a28fbae14552d062a189cc88f719a93f3c /net/lapb/lapb_timer.c | |
parent | f5d8e16488056d9ad48d2561ef4eaf7fdd11c162 (diff) |
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 <[email protected]>
Acked-by: Mikita Lipski <[email protected]>
Signed-off-by: Anson Jacob <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions