projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17afc80
)
Minor followup fixes for the previous commit.
author
Michel Dänzer
<michel@tungstengraphics.com>
Thu, 6 Dec 2007 09:19:22 +0000
(10:19 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Thu, 6 Dec 2007 09:19:22 +0000
(10:19 +0100)
src/glx/x11/dri_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/dri_glx.c
b/src/glx/x11/dri_glx.c
index 9c3a78b31b7153009a205bdaebd907497b195601..dab454e8e30e318089a45c463e2b31df923e4a84 100644
(file)
--- a/
src/glx/x11/dri_glx.c
+++ b/
src/glx/x11/dri_glx.c
@@
-241,7
+241,10
@@
static __DRIdriver *OpenDriver(const char *driverName)
driver->name = __glXstrdup(driverName);
driver->libpath = __glXstrdup(realDriverName);
if (!driver->name || !driver->libpath) {
- if (driver->name) XFree(driver->name);
+ if (driver->name)
+ Xfree(driver->name);
+ if (driver->libpath)
+ Xfree(driver->libpath);
Xfree(driver);
driver = NULL;
break; /* out of memory! */