projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93305a
)
Fixed crash on quit
author
John Darrington
<john@darrington.wattle.id.au>
Thu, 9 Apr 2009 00:51:24 +0000
(08:51 +0800)
committer
John Darrington
<john@darrington.wattle.id.au>
Thu, 9 Apr 2009 00:51:24 +0000
(08:51 +0800)
src/libpspp/i18n.c
patch
|
blob
|
history
diff --git
a/src/libpspp/i18n.c
b/src/libpspp/i18n.c
index 74ec1f1fdeb18c0116c95d8e30b6e12cd57381e6..293276c6aa9416f4bc4579b6d5ae266745610418 100644
(file)
--- a/
src/libpspp/i18n.c
+++ b/
src/libpspp/i18n.c
@@
-263,9
+263,12
@@
void
i18n_done (void)
{
struct hmapx_node *node;
- iconv_t conv;
- HMAPX_FOR_EACH (conv, node, &map)
- iconv_close (conv);
+ struct converter *cvtr;
+ HMAPX_FOR_EACH (cvtr, node, &map)
+ {
+ iconv_close (cvtr->conv);
+ free (cvtr);
+ }
hmapx_destroy (&map);