summaryrefslogtreecommitdiffstats
path: root/lib/charsets.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:11:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:11:49 +0000
commit1b88cd5ee8510e90e69f885bfd730ce57621781c (patch)
treeb6b33bd695258f68c68824029c279d660ee4b85e /lib/charsets.c
parentAdding upstream version 3:4.8.30. (diff)
downloadmc-1b88cd5ee8510e90e69f885bfd730ce57621781c.tar.xz
mc-1b88cd5ee8510e90e69f885bfd730ce57621781c.zip
Adding upstream version 3:4.8.31.upstream/3%4.8.31upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--lib/charsets.c3
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