Loading lib/file.c +6 −1 Original line number Diff line number Diff line Loading @@ -107,9 +107,14 @@ CURLcode Curl_file_connect(struct connectdata *conn) char *actual_path; #endif if(!real_path) return CURLE_OUT_OF_MEMORY; file = (struct FILEPROTO *)calloc(sizeof(struct FILEPROTO), 1); if(!file) if(!file) { free(real_path); return CURLE_OUT_OF_MEMORY; } conn->proto.file = file; Loading Loading
lib/file.c +6 −1 Original line number Diff line number Diff line Loading @@ -107,9 +107,14 @@ CURLcode Curl_file_connect(struct connectdata *conn) char *actual_path; #endif if(!real_path) return CURLE_OUT_OF_MEMORY; file = (struct FILEPROTO *)calloc(sizeof(struct FILEPROTO), 1); if(!file) if(!file) { free(real_path); return CURLE_OUT_OF_MEMORY; } conn->proto.file = file; Loading