forked from enlightenment/efl
eolian: pass rbuf to doc_error
This allows us to correctly free the buffer in error scenarios. Fixes CID 1304728. @fix
This commit is contained in:
parent
0e8d1c8485
commit
6692319c78
|
@ -326,7 +326,7 @@ read_doc(Eo_Lexer *ls, Eo_Token *tok, int line, int column)
|
|||
{
|
||||
if (!ls->current)
|
||||
{
|
||||
doc_error(ls, "unfinished documentation", doc, NULL);
|
||||
doc_error(ls, "unfinished documentation", doc, rbuf);
|
||||
return; /* unreachable, for static analysis */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue