[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11730 - Extractor/src/common
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11730 - Extractor/src/common |
Date: |
Sun, 13 Jun 2010 16:49:20 +0200 |
Author: grothoff
Date: 2010-06-13 16:49:20 +0200 (Sun, 13 Jun 2010)
New Revision: 11730
Modified:
Extractor/src/common/convert.c
Log:
close
Modified: Extractor/src/common/convert.c
===================================================================
--- Extractor/src/common/convert.c 2010-06-13 14:48:23 UTC (rev 11729)
+++ Extractor/src/common/convert.c 2010-06-13 14:49:20 UTC (rev 11730)
@@ -50,7 +50,10 @@
tmpSize = 3 * len + 4;
tmp = malloc (tmpSize);
if (tmp == NULL)
- return NULL;
+ {
+ iconv_close (cd);
+ return NULL;
+ }
itmp = tmp;
finSize = tmpSize;
if (iconv (cd, (char **) &input, &len, &itmp, &finSize) == SIZE_MAX)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11730 - Extractor/src/common,
gnunet <=