Re: [Mesa-dev] [PATCH 2/2] egl/dri2: do not leak dri2_dpy->driver_name

2014-06-01 Thread Ilia Mirkin
On Sun, Jun 1, 2014 at 10:19 AM, Emil Velikov wrote: > Originally all hardware drivers duplicate the driver_name string > from an external source, while for the software rasterizer we've > set it to a literal. Follow the example set by hw drivers this way > we can free the string at dri2_terminate

[Mesa-dev] [PATCH 2/2] egl/dri2: do not leak dri2_dpy->driver_name

2014-06-01 Thread Emil Velikov
Originally all hardware drivers duplicate the driver_name string from an external source, while for the software rasterizer we've set it to a literal. Follow the example set by hw drivers this way we can free the string at dri2_terminate(). Cc: Chia-I Wu Signed-off-by: Emil Velikov --- src/egl/