diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-23 01:58:46 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-23 01:58:46 +0000 |
commit | 390fd61eb0808d767dfce8d6da24a7528ef75812 (patch) | |
tree | 581d0b904949253d55bab3459371801876e1fd17 /i18n | |
parent | 86449ace2f1d8cfbe4d6e0c15d8f7d3ff65074da (diff) | |
download | libapr-390fd61eb0808d767dfce8d6da24a7528ef75812.tar.gz |
bug fix: ap_xlate_open() neglected to clear field sbcs_table
in the newly-created ap_xlate_t structure... this led to a
problem when sbcs_table wasn't NULL for a non-sbcs conversion
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60082 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/unix/xlate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n/unix/xlate.c b/i18n/unix/xlate.c index d4b0838be..787d31322 100644 --- a/i18n/unix/xlate.c +++ b/i18n/unix/xlate.c @@ -185,7 +185,7 @@ ap_status_t ap_xlate_open(ap_xlate_t **convset, const char *topage, frompage = get_default_codepage(); } - new = (ap_xlate_t *)ap_palloc(pool, sizeof(ap_xlate_t)); + new = (ap_xlate_t *)ap_pcalloc(pool, sizeof(ap_xlate_t)); if (!new) { return APR_ENOMEM; } |