summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2010-01-07 16:36:40 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2010-01-07 16:36:40 +0800
commit14799aa2927bfef27c1b2f4ad14437e98aae0e47 (patch)
tree03365435292c171cfe04336f878a19d31fbdf32d
parent16001b547a8f27aceb1691efb3e07ab9c3af0030 (diff)
uconv: fixed a memory leak
-rw-r--r--uconv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/uconv.c b/uconv.c
index 9f29967..94fd812 100644
--- a/uconv.c
+++ b/uconv.c
@@ -64,5 +64,8 @@ int main(int argc, char **argv)
fclose(outfp);
fclose(infp);
+
+ uniconv_close(conv);
+
return 0;
}