Module: Mesa Branch: master Commit: 5376bc74ccfac0d1a4df6c5652e075d99e3f4fe4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5376bc74ccfac0d1a4df6c5652e075d99e3f4fe4
Author: Brian Paul <[email protected]> Date: Sat Mar 7 13:15:22 2015 -0700 st/glx: use strdup() instead of _mesa_strdup() Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Ian Romanick <[email protected]> --- src/gallium/state_trackers/glx/xlib/glx_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index d1bd760..f9572b7 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 <stdio.h> +#include <string.h> #include <X11/Xmd.h> #include <GL/glxproto.h> @@ -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; } } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
