gallium/radeon: assume X11 DRI3 can use at most 5 back buffers
[mesa.git] / src / util / strtod.c
index a4a60e0404aeedf3dcd1ea45d205996fdb248921..ea7d395e2daaf868c8ef3633d3a5188ee1094d8b 100644 (file)
@@ -45,6 +45,14 @@ _mesa_locale_init(void)
 #endif
 }
 
+void
+_mesa_locale_fini(void)
+{
+#if defined(_GNU_SOURCE) && defined(HAVE_XLOCALE_H)
+   freelocale(loc);
+#endif
+}
+
 /**
  * Wrapper around strtod which uses the "C" locale so the decimal
  * point is always '.'