mesa: drop unnecessary coping of extra_extensions
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Oct 2017 13:35:41 +0000 (14:35 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 16 Nov 2017 14:07:14 +0000 (14:07 +0000)
commit444d9e4b081ab18352fc30a3c90829536ddd49fb
tree74ffbcabd8119c52b17ce6e2b58d04486ebe61ae
parente4cdce50585edbbbe9b6fe0d3f7215a67b989309
mesa: drop unnecessary coping of extra_extensions

The function get_extension_override() returns a copy of a string,
only for it to be copied again ...

Drop the unneeded calloc/strdup/free dance.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/extensions.c