projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vk: Make anv_cmd_buffer_begin_subpass() switch on gen
[mesa.git]
/
src
/
util
/
strtod.c
diff --git
a/src/util/strtod.c
b/src/util/strtod.c
index a4a60e0404aeedf3dcd1ea45d205996fdb248921..ea7d395e2daaf868c8ef3633d3a5188ee1094d8b 100644
(file)
--- a/
src/util/strtod.c
+++ b/
src/util/strtod.c
@@
-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 '.'