mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
conf: fix memory leak
This commit is contained in:
parent
a8786f8a22
commit
5e042490a9
@ -341,7 +341,9 @@ int parse_line(char *line, ConfLine *parsed)
|
||||
goto out;
|
||||
case '[':
|
||||
parsed->set_suffix(p);
|
||||
return _parse_section(p, parsed);
|
||||
ret = _parse_section(p, parsed);
|
||||
free(dup);
|
||||
return ret;
|
||||
}
|
||||
|
||||
parsed->set_var(get_next_name(p, 1, &p), false);
|
||||
|
Loading…
Reference in New Issue
Block a user