Fix a memory leak if compiled with Windows locale support
authorDaniel Veillard <veillard@redhat.com>
Mon, 28 Feb 2011 01:54:15 +0000 (09:54 +0800)
committerDaniel Veillard <veillard@redhat.com>
Mon, 28 Feb 2011 01:54:15 +0000 (09:54 +0800)
commit7f741527832f4d85472c61f0468c1358f84810d7
treed605600af78b0f21e1c32e223b83b4d24a943c3c
parentecb6bcb8d1b7e44842edde3929f412d46b40c89f
Fix a memory leak if compiled with Windows locale support

Ralf Junker <ralfjunker@gmx.de> pointed out a ouple of leaks in the
Windows locale support:
* libxslt/xslt.c: add cleanup code for the mutex in xsltUninit()
* libxslt/xsltlocale.c libxslt/xsltlocale.h: add a new cleanup function
  xsltFreeLocales
* libxslt/extensions.c: add a call to xsltFreeLocales in xsltCleanupGlobals
libxslt/extensions.c
libxslt/xslt.c
libxslt/xsltlocale.c
libxslt/xsltlocale.h