q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6692319c7873e0fbb797f01bc2ca41c2d12824b4
commit 6692319c7873e0fbb797f01bc2ca41c2d12824b4 Author: Daniel Kolesa <[email protected]> Date: Tue Jun 9 13:43:36 2015 +0100 eolian: pass rbuf to doc_error This allows us to correctly free the buffer in error scenarios. Fixes CID 1304728. @fix --- src/lib/eolian/eo_lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c index 3ed337a..34034f4 100644 --- a/src/lib/eolian/eo_lexer.c +++ b/src/lib/eolian/eo_lexer.c @@ -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 */ } --
