Hi! I want to know if when i use drmModeFreeResources() i need free the resources crtc, encoder and connector before or it is not necessary.
Regards.
On Mon, Sep 14, 2015 at 4:44 AM, Alex Vazquez avazquez.dev@gmail.com wrote:
Hi! I want to know if when i use drmModeFreeResources() i need free the resources crtc, encoder and connector before or it is not necessary.
drmModeFreeResources() only frees the drmModeResPtr object (including it's arrays of connector-id's, etc).. you would independently need to match calls to drmModeGet{Crtc,Connector,etc}() to drmModeFree{Crtc,Connector,etc}()
BR, -R
Regards.
dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
dri-devel@lists.freedesktop.org