summaryrefslogtreecommitdiff
path: root/ares_expand_string.c
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2016-11-10 16:24:08 +0900
committerYu Jiung <jiung.yu@samsung.com>2016-11-10 16:25:02 +0900
commit8166b0204b6945a4fdb89bbae0b0b7168a7cf6e8 (patch)
tree81f0750d91aa467df3ee81cf30d22a65db2e6685 /ares_expand_string.c
parentccccebb78520ec3a26a18370936516b12ae5d53a (diff)
parent45e88a8337839e5fd88519bc55467053d521c9f6 (diff)
downloadc-ares-fa0dc28d5fe84d1ad888e45356c33fddc020adb9.tar.gz
c-ares-fa0dc28d5fe84d1ad888e45356c33fddc020adb9.tar.bz2
c-ares-fa0dc28d5fe84d1ad888e45356c33fddc020adb9.zip
Conflicts: packaging/c-ares.spec Change-Id: I1ec10e394aed3ef19ee21fefbe3aba7d7a615c74
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;