diff options
author | Brian Paul <[email protected]> | 2015-03-07 13:15:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-11 09:34:24 -0600 |
commit | 279c5965aa501e6b8f8432b1213f917298154d6c (patch) | |
tree | b648331de203c5d2df6930bd3eb5f3ddf8fde0a2 /src/mesa/drivers/x11/fakeglx.c | |
parent | 14ba6c9325229270d3f04c13253ca547f9a216ff (diff) |
xlib: use strdup() instead of _mesa_strdup()
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/fakeglx.c')
-rw-r--r-- | src/mesa/drivers/x11/fakeglx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 3869e941d92..4fd6d758da9 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -40,6 +40,7 @@ */ +#include <string.h> #include <stdio.h> #include "glxheader.h" #include "glxapi.h" @@ -846,7 +847,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; /* silence warning */ - ext->name = _mesa_strdup(extName); + ext->name = strdup(extName); ext->close_display = close_display_callback; } } |