aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.c b/lib/file.c
index e36631426..4a064a065 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -175,7 +175,7 @@ CURLcode Curl_file_done(struct connectdata *conn,
{
struct FILEPROTO *file = conn->proto.file;
(void)status; /* not used */
- Curl_safefree(file->path);
+ Curl_safefree(file->freepath);
return CURLE_OK;
}