]> granicus.if.org Git - curl/commitdiff
Steven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing the
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jun 2004 07:17:28 +0000 (07:17 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Jun 2004 07:17:28 +0000 (07:17 +0000)
path after a transfer.

lib/file.c

index e366314263111a918d3b100205ade78f95cfdd6f..4a064a065c81d20e1c69388ffc0c7a8b91090d5a 100644 (file)
@@ -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;
 }