From 3dfdc427f16da8bb6c3374ca0140eadd5f8ab867 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" 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/stdtime/timelocal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdtime') diff --git a/lib/libc/stdtime/timelocal.c b/lib/libc/stdtime/timelocal.c index 88117bdf98c37..6917e6b6ccee6 100644 --- a/lib/libc/stdtime/timelocal.c +++ b/lib/libc/stdtime/timelocal.c @@ -111,7 +111,7 @@ int __time_load_locale(const char *name) { return (__part_load_locale(name, &_time_using_locale, - time_locale_buf, "LC_TIME", + &time_locale_buf, "LC_TIME", LCTIME_SIZE, LCTIME_SIZE, (const char **)&_time_locale)); } -- cgit v1.3