On Sun, Jun 1, 2014 at 11:53 PM, Emil Velikov emil.l.veli...@gmail.com wrote:
Originally all hardware drivers duplicate the driver_name string
from an external source, while for the software rasterizer we set
it to swrast. Follow the example set by hw drivers this way
we can free the string at
On 02/06/14 07:31, Chia-I Wu wrote:
On Sun, Jun 1, 2014 at 11:53 PM, Emil Velikov emil.l.veli...@gmail.com
wrote:
Originally all hardware drivers duplicate the driver_name string
from an external source, while for the software rasterizer we set
it to swrast. Follow the example set by hw
Originally all hardware drivers duplicate the driver_name string
from an external source, while for the software rasterizer we set
it to swrast. Follow the example set by hw drivers this way
we can free the string at dri2_terminate().
v2: Use strdup over strndup. Suggested by Ilia Mirkin.
v3:
Originally all hardware drivers duplicate the driver_name string
from an external source, while for the software rasterizer we set
it to swrast. Follow the example set by hw drivers this way
we can free the string at dri2_terminate().
v2: Use strdup over strndup. Suggested by Ilia Mirkin.
Cc: