From 5376bc74ccfac0d1a4df6c5652e075d99e3f4fe4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 7 Mar 2015 13:15:22 -0700 Subject: st/glx: use strdup() instead of _mesa_strdup() Reviewed-by: Jose Fonseca Reviewed-by: Ian Romanick --- src/gallium/state_trackers/glx/xlib/glx_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/glx/xlib') diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index d1bd7602a6c..f9572b7d3b3 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -34,6 +34,7 @@ #include "GL/glx.h" #include +#include #include #include @@ -644,7 +645,7 @@ register_with_display(Display *dpy) ext = dpy->ext_procs; /* new extension is at head of list */ assert(c->extension == ext->codes.extension); (void) c; - ext->name = _mesa_strdup(extName); + ext->name = strdup(extName); ext->close_display = close_display_callback; } } -- cgit v1.2.3