Commit 38b85255 by Nelson Elhage

config: Fix a leak parsing multi-line config entries

parent a03113e8
......@@ -338,6 +338,7 @@ static int parse_multiline_variable(git_config_parser *reader, git_buf *value, i
/* If it was just a comment, pretend it didn't exist */
if (line[0] == '\0') {
git__free(line);
in_quotes = quote_count;
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment