diff options
Diffstat (limited to 'ares_expand_string.c')
-rw-r--r-- | ares_expand_string.c | 2 |
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; |