summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/transparent-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transparent-proxy.c b/src/transparent-proxy.c
index 5d0c8f6..df5fbce 100644
--- a/src/transparent-proxy.c
+++ b/src/transparent-proxy.c
@@ -45,7 +45,7 @@ static int build_url (char **url, const char *host, int port, const char *path)
assert (path != NULL);
len = strlen (host) + strlen (path) + 14;
- *url = (char *) safemalloc (len);
+ *url = (char *) saferealloc (*url, len);
if (*url == NULL)
return -1;