summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/ldpart.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2003-06-13 00:14:07 +0000
committerjkh <jkh@FreeBSD.org>2003-06-13 00:14:07 +0000
commit56787fa7b199f3e56307c941bd464b9fcfcde7d5 (patch)
tree8a933dd924bf8f358332d7cf52977b4a04422fc4 /lib/libc/locale/ldpart.h
parent337a3926640fe092173b6a55d92517d635a96d95 (diff)
downloadFreeBSD-src-56787fa7b199f3e56307c941bd464b9fcfcde7d5.zip
FreeBSD-src-56787fa7b199f3e56307c941bd464b9fcfcde7d5.tar.gz
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 <emoy@apple.com> Obtained from: Apple Computer, Inc. MFC after: 2 weeks
Diffstat (limited to 'lib/libc/locale/ldpart.h')
-rw-r--r--lib/libc/locale/ldpart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/ldpart.h b/lib/libc/locale/ldpart.h
index becca06..45f7339 100644
--- a/lib/libc/locale/ldpart.h
+++ b/lib/libc/locale/ldpart.h
@@ -33,7 +33,7 @@
#define _LDP_ERROR (-1)
#define _LDP_CACHE 1
-int __part_load_locale(const char *, int*, char *, const char *,
+int __part_load_locale(const char *, int*, char **, const char *,
int, int, const char **);
#endif /* !_LDPART_H_ */
OpenPOWER on IntegriCloud