diff options
Diffstat (limited to 'lib/charsets.c')
-rw-r--r-- | lib/charsets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/charsets.c b/lib/charsets.c index c97a3cf..c5ccaea 100644 --- a/lib/charsets.c +++ b/lib/charsets.c @@ -1,7 +1,7 @@ /* Text conversion from one charset to another. - Copyright (C) 2001-2023 + Copyright (C) 2001-2024 Free Software Foundation, Inc. Written by: @@ -136,6 +136,7 @@ load_codepages_list_from_file (GPtrArray ** list, const char *fname) if (*list == NULL) { *list = g_ptr_array_sized_new (16); + g_ptr_array_set_free_func (*list, free_codepage_desc); g_ptr_array_add (*list, new_codepage_desc (id, p)); } else |