aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog4
-rw-r--r--common/utf8conv.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index ae928ad9b..6c3c1f4d0 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-19 Werner Koch <[email protected]>
+
+ * utf8conv.c (utf8_to_wchar): s/malloc/jnlib_malloc/.
+
2010-07-16 Werner Koch <[email protected]>
* http.h (HTTP_FLAG_IGNORE_CL): Add flag .
diff --git a/common/utf8conv.c b/common/utf8conv.c
index 4ad514247..16baa0d4d 100644
--- a/common/utf8conv.c
+++ b/common/utf8conv.c
@@ -802,7 +802,7 @@ utf8_to_wchar (const char *string)
jnlib_set_errno (ENOMEM);
return NULL;
}
- result = malloc (nbytes);
+ result = jnlib_malloc (nbytes);
if (!result)
return NULL;