Am Do., 9. Aug. 2018 um 12:23 Uhr schrieb Emil Velikov
<emil.l.veli...@gmail.com>:
>
> On 9 August 2018 at 06:12, Christian Gmeiner
> <christian.gmei...@gmail.com> wrote:
> > Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
> > ---
> >  src/gallium/drivers/tegra/tegra_screen.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/src/gallium/drivers/tegra/tegra_screen.c 
> > b/src/gallium/drivers/tegra/tegra_screen.c
> > index 034ea271ee..361ec034de 100644
> > --- a/src/gallium/drivers/tegra/tegra_screen.c
> > +++ b/src/gallium/drivers/tegra/tegra_screen.c
> > @@ -198,6 +198,7 @@ static int tegra_open_render_node(void)
> >
> >           version = drmGetVersion(fd);
> >           if (!version) {
> > +            drmFreeVersion(version);
> This should be in the next if hunk - the strcmp() call.

Yeah... that is what I wanted initially - but hacking to early in the
morning (and in the train)
does not seems to be my thing.

-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to