[PATCH] drm/nouveau/clk/gm20b: Fix memory leak in gm20b_clk_new()

Markus Elfring Markus.Elfring at web.de
Tue Jun 2 11:10:34 UTC 2020


> The original patch was basically fine.

I propose to reconsider the interpretation of the software situation once more.

* Should the allocated clock object be kept usable even after
  a successful return from this function?

* How much do “destructor” calls matter here for (sub)devices?


> Just add a Fixes tag and resend.

This tag can help also.

Regards,
Markus


More information about the dri-devel mailing list