diff options
Diffstat (limited to 'lib/netrc.c')
-rw-r--r-- | lib/netrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netrc.c b/lib/netrc.c index 45a36e49a..dbe79d3dd 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -102,7 +102,7 @@ int Curl_parsenetrc(const char *host, netrcfile = curl_maprintf("%s%s%s", home, DIR_CHAR, NETRC); if(home_alloc) - Curl_safefree(home); + free(home); if(!netrcfile) { return -1; } @@ -111,7 +111,7 @@ int Curl_parsenetrc(const char *host, file = fopen(netrcfile, "r"); if(netrc_alloc) - Curl_safefree(netrcfile); + free(netrcfile); if(file) { char *tok; char *tok_buf; |