Hello Chris Wilson.
git : git://anongit.freedesktop.org/git/mesa/drm branch : master
I found some memory leaks in xf86drmMode.c.
When we call drmModeGetResources(), fbs, crtcs, connectors and encoders are newly allocated. But, drmModeFreeResources() doesn't free them. drmModeFreeProperty() also doesn't free blob_ids.
I reported it to bugzilla and attached two patch files. - https://bugs.freedesktop.org/show_bug.cgi?id=41373
Could you review if it's a bug or not?
Many thanks Boram.