aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-10 07:17:28 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-10 07:17:28 +0000
commit3d00c86f4ca2439a2748fa61c591fb69b36c010d (patch)
tree945425a4cb7149ae4617bc66f0a9e8d95d2edcf3 /lib/file.c
parent90037b85d1a6c46979729d0735eef094516dc31f (diff)
Steven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing the
path after a transfer.
Diffstat (limited to 'lib/file.c')
-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;
}