Minor changes to make linux-solo build again
[mesa.git] / src / mesa / drivers / dri / gamma / gamma_xmesa.c
index 67bcf019d0c5c4768877674dbd7e6a34b7ac3144..c0a298cb859ab1fe05918c71c85d2f1a99866e88 100644 (file)
@@ -66,7 +66,7 @@ gammaDestroyContext(__DRIcontextPrivate *driContextPriv)
       gmesa->glCtx->DriverCtx = NULL;
       _mesa_destroy_context(gmesa->glCtx);
 
-      Xfree(gmesa);
+      FREE(gmesa);
       driContextPriv->driverPrivate = NULL;
     }
 }