mesa/main: free locale at exit
authorErik Faye-Lund <kusmabite@gmail.com>
Sun, 28 Jun 2015 12:51:09 +0000 (14:51 +0200)
committerMatt Turner <mattst88@gmail.com>
Mon, 29 Jun 2015 16:06:40 +0000 (09:06 -0700)
commite566e5203aaba98109a67766cf28991de3358490
tree0b9977766f1c16225637fb96d7c72e7e556ac444
parentc61bc6ed844b39e600cc64e3e552c7bf1894d7ba
mesa/main: free locale at exit

In order to save a small leak if mesa is continously loaded and
unloaded, let's free the locale when the shared object is unloaded.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/context.c
src/util/strtod.c
src/util/strtod.h