Skip to contentSkip to conversation

drm/v3d: remove duplicated kfree in v3d_submit_cl_ioctl

PATCH Markus Elfring 1 participant 1 message Jan 27, 2020

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

kfree() was called for the same variable twice within an if branch.

I wonder still how this software situation happened.

Now I imagine that it could be more logical to delete the second of this function call if you would like to look at the history of previous two patches once more.

How do you think about to add another jump target for a bit of common exception handling?

Regards,
Markus