diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-04 07:25:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-04 07:25:25 +0000 |
commit | 0d9f67937f0c9329c35c2c0d15848ab8316dc520 (patch) | |
tree | ee2b01470306f95f731e268aab1c0712f9e9d50c /iconv/gconv_close.c | |
parent | e62c19f12cfc377ac9ce7c037713ead5dc6b57d9 (diff) | |
download | glibc-0d9f67937f0c9329c35c2c0d15848ab8316dc520.zip glibc-0d9f67937f0c9329c35c2c0d15848ab8316dc520.tar.gz glibc-0d9f67937f0c9329c35c2c0d15848ab8316dc520.tar.bz2 |
Update.
1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv.c: Rewrite of the low-level of gconv.
* iconv/gconv.h: Likewise.
* iconv/gconv_builtin.h: Likewise.
* iconv/gconv_close.c: Likewise.
* iconv/gconv_db.: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconvdata/8bit-gap.c: Adapt for rewrite.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/euckr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
* iconvdata/uhc.c: Likewise.
Diffstat (limited to 'iconv/gconv_close.c')
-rw-r--r-- | iconv/gconv_close.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/iconv/gconv_close.c b/iconv/gconv_close.c index b6d5fbc..de0937d 100644 --- a/iconv/gconv_close.c +++ b/iconv/gconv_close.c @@ -38,24 +38,11 @@ __gconv_close (gconv_t cd) drunp = cd->data; do { - /* Call destructor. */ - if (srunp->end_fct != NULL) - (*srunp->end_fct) (drunp); - else - if (drunp->data != NULL) - free (drunp->data); - if (!drunp->is_last && drunp->outbuf != NULL) free (drunp->outbuf); - - /* Next step. */ - ++srunp; } while (!(drunp++)->is_last); - /* Save the pointer, we need it below. */ - srunp = cd->steps; - /* Free the data allocated for the descriptor. */ free (cd->data); free (cd); |