summaryrefslogtreecommitdiff
path: root/ares_expand_string.c
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2016-11-09 02:18:45 (GMT)
committerYu Jiung <jiung.yu@samsung.com>2016-11-09 02:18:55 (GMT)
commiteb886f120599b2a184db20b527db6dfdfcb7852e (patch)
treeb49d8075742c4a27b237fa183cb68670e421d398 /ares_expand_string.c
parentb6627e2c19506bd30328969ea8aab73fa0945f36 (diff)
downloadc-ares-eb886f120599b2a184db20b527db6dfdfcb7852e.zip
c-ares-eb886f120599b2a184db20b527db6dfdfcb7852e.tar.gz
c-ares-eb886f120599b2a184db20b527db6dfdfcb7852e.tar.bz2
Imported Upstream version 1.11.0upstream/1.11.0refs/changes/18/96418/1
Change-Id: I238c24b75a10aa902d9bc4076ed68b76b5e2a750
Diffstat (limited to 'ares_expand_string.c')
-rw-r--r--ares_expand_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_expand_string.c b/ares_expand_string.c
index 96d1be3..ed5476b 100644
--- a/ares_expand_string.c
+++ b/ares_expand_string.c
@@ -54,7 +54,7 @@ int ares_expand_string(const unsigned char *encoded,
encoded++;
- *s = malloc(elen.uns+1);
+ *s = ares_malloc(elen.uns+1);
if (*s == NULL)
return ARES_ENOMEM;
q = *s;