Files
linux-nvgpu/drivers/gpu/nvgpu
Terje Bergstrom 29400cbbae gpu: nvgpu: Free board_obj_ptr in case of error
If construct_clk_prog() gets an error reported in status, it returns
NULL instead of the constructed board_obj_ptr.

Call a destructor to prevent leaking any possibly constructed
board_obj_ptr.

Coverity ID 490171

Change-Id: Icf359da6511b108a03dd86d4556c5cbb288e90de
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1291682
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
2017-01-26 10:53:06 -08:00
..
2016-12-27 15:26:53 +05:30
2017-01-24 16:24:12 -08:00
2016-07-19 21:02:22 -07:00
2017-01-24 15:15:22 -08:00
2016-04-27 08:10:54 -07:00