free resource
Rob Clark
robdclark at gmail.com
Mon Sep 14 06:13:24 PDT 2015
On Mon, Sep 14, 2015 at 4:44 AM, Alex Vazquez <avazquez.dev at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
More information about the dri-devel
mailing list