Displaying 1 result from an estimated 1 matches for "nouveau_bo_fini".
2024 Aug 08
0
[bug report] drm/nouveau: use GEM references instead of TTMs
...dtor(&disp->caps);
2813 nv50_core_del(&disp->core);
2814
2815 nouveau_bo_unmap(disp->sync);
2816 if (disp->sync)
^^^^^^^^^^
Check for NULL
2817 nouveau_bo_unpin(disp->sync);
--> 2818 nouveau_bo_fini(disp->sync);
^^^^^^^^^^
Unchecked dereference. The patch didn't actually introduce this bug, it just
exposed it to the static checker.
2819
2820 nouveau_display(dev)->priv = NULL;
2821 kfree(disp);
2822 }
regards,
dan ca...