From 56787fa7b199f3e56307c941bd464b9fcfcde7d5 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 13 Jun 2003 00:14:07 +0000 Subject: Fixes to locale code to properly use indirect pointers in order to prevent memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy Obtained from: Apple Computer, Inc. MFC after: 2 weeks --- lib/libc/locale/lnumeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/locale/lnumeric.c') diff --git a/lib/libc/locale/lnumeric.c b/lib/libc/locale/lnumeric.c index 77d2bfa..93acccc 100644 --- a/lib/libc/locale/lnumeric.c +++ b/lib/libc/locale/lnumeric.c @@ -54,7 +54,7 @@ __numeric_load_locale(const char *name) int ret; ret = __part_load_locale(name, &_numeric_using_locale, - _numeric_locale_buf, "LC_NUMERIC", + &_numeric_locale_buf, "LC_NUMERIC", LCNUMERIC_SIZE, LCNUMERIC_SIZE, (const char **)&_numeric_locale); if (ret != _LDP_ERROR) -- cgit v1.1