aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/curl-shim.c')
-rw-r--r--keyserver/curl-shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 0aab4ad67..2df782638 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -288,7 +288,7 @@ curl_easy_escape(CURL *curl,char *str,int length)
else
len=strlen(str);
- enc=malloc(len+1);
+ enc = xtrymalloc(len+1);
if(!enc)
return enc;