kernel/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c
.. .. @@ -1141,6 +1141,7 @@ 1141 1141 if (dce80_construct(num_virtual_links, dc, pool)) 1142 1142 return &pool->base; 1143 1143 1144 + kfree(pool);1144 1145 BREAK_TO_DEBUGGER(); 1145 1146 return NULL; 1146 1147 } .. .. @@ -1338,6 +1339,7 @@ 1338 1339 if (dce81_construct(num_virtual_links, dc, pool)) 1339 1340 return &pool->base; 1340 1341 1342 + kfree(pool);1341 1343 BREAK_TO_DEBUGGER(); 1342 1344 return NULL; 1343 1345 }