[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11732 - Extractor/src/common
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11732 - Extractor/src/common |
Date: |
Sun, 13 Jun 2010 16:53:41 +0200 |
Author: grothoff
Date: 2010-06-13 16:53:41 +0200 (Sun, 13 Jun 2010)
New Revision: 11732
Modified:
Extractor/src/common/convert.c
Log:
another one
Modified: Extractor/src/common/convert.c
===================================================================
--- Extractor/src/common/convert.c 2010-06-13 14:49:51 UTC (rev 11731)
+++ Extractor/src/common/convert.c 2010-06-13 14:53:41 UTC (rev 11732)
@@ -46,7 +46,10 @@
if (cd == (iconv_t) - 1)
return strdup (i);
if (len > 1024 * 1024)
- return NULL; /* too big for meta data */
+ {
+ iconv_close (cd);
+ return NULL; /* too big for meta data */
+ }
tmpSize = 3 * len + 4;
tmp = malloc (tmpSize);
if (tmp == NULL)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11732 - Extractor/src/common,
gnunet <=